Search the Catalog
DocBook: The Definitive Guide

DocBook: The Definitive Guide

By Norman Walsh & Leonard Muellner
1st Edition October 1999
1-56592-580-7, Order Number: 5807
652 pages, $36.95 , Includes CD-ROM

SubjectSet

Name

SubjectSet -- A set of terms describing the subject matter of a document

Synopsis

Content Model

SubjectSet ::=
(Subject+)

Attributes

Common attributes

Name

Type

Default

SchemeNAMENone

Tag Minimization

Both the start- and end-tags are required for this element.

Description

A SubjectSet is a container for a set of Subjects. All of the Subjects within a SubjectSet should come from the same controlled vocabulary.

A document can be described using terms from more than one controlled vocabulary. In order to do this, you should use the Scheme attribute to distinguish between controlled vocabularies.

Processing expectations

May be formatted inline or as a displayed block, depending on context. Subjects are rarely displayed to a reader. Usually, they are reserved for searching and retrieval purposes.

DocBook does not specify a relationship between SubjectSets in different parts of a document or between a SubjectSet and the SubjectSets of enclosing parts of the document.

Children

The following elements occur in SubjectSet: Subject.

In some contexts, the following elements are allowed anywhere: BeginPage, IndexTerm.

Attributes

Scheme

Scheme identifies the controlled vocabulary used by this SubjectSet's terms.

See Also

Keyword, KeywordSet, Subject, SubjectTerm

Examples

<!DOCTYPE subjectset PUBLIC "-//OASIS//DTD DocBook V3.1//EN">
<subjectset scheme="libraryofcongress">
<subject>
  <subjectterm>Electronic Publishing</subjectterm>
</subject>
<subject>
  <subjectterm>SGML (Computer program language)</subjectterm>
</subject>
</subjectset>

Back to: DocBook: The Definitive Guide


oreilly.com Home | O'Reilly Bookstores | How to Order | O'Reilly Contacts
International | About O'Reilly | Affiliated Companies | Privacy Policy

© 2001, O'Reilly & Associates, Inc.