O'Reilly logo

DocBook 5: The Definitive Guide by Richard L. Hamilton, Norman Walsh

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Name

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

Synopsis

subjectset ::= subject+

Attribute synopsis

Common attributes and common linking attributes.

Additional attributes:

  • scheme (NMTOKEN)

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.

Attributes

Common attributes and common linking attributes.

scheme

Identifies the controlled vocabulary used by this set’s terms

See Also

keyword, keywordset, subject, subjectterm

Examples

<article xmlns='http://docbook.org/ns/docbook'>
<info>
  <title>Example subjectset</title>
  <subjectset scheme="libraryofcongress">
    <subject>
      <subjectterm>Electronic Publishing</subjectterm>
    </subject>
    <subject>
      <subjectterm>SGML (Computer program language)</subjectterm>
    </subject>
  </subjectset>
</info>

<para>…</para>

</article>

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required