Skip to main content
Version: DocBook V4.5

subjectset

subjectset — A set of terms describing the subject matter of a document

Synopsis​

Content Model​

subjectset ::=
(subject+)

Attributes​

Common attributes

Name

Type

Default

scheme

NMTOKEN

None

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.

Attributes​

scheme

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

Examples​

<!DOCTYPE subjectset PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN"
"http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd">
<subjectset scheme="libraryofcongress">
<subject>
<subjectterm>Electronic Publishing</subjectterm>
</subject>
<subject>
<subjectterm>SGML (Computer program language)</subjectterm>
</subject>
</subjectset>