| 1 | <refentry id="subjectset.element"> |
| 2 | <?dbhtml filename="subjectset.html"?> |
| 3 | <refentryinfo> |
| 4 | <pubdate>$Date$</pubdate> |
| 5 | <releaseinfo>$Revision$</releaseinfo> |
| 6 | </refentryinfo> |
| 7 | |
| 8 | <refmeta> |
| 9 | <indexterm><primary>elements</primary> |
| 10 | <secondary>subjectset</secondary></indexterm> |
| 11 | <refentrytitle>subjectset</refentrytitle> |
| 12 | <refmiscinfo>Element</refmiscinfo> |
| 13 | </refmeta> |
| 14 | <refnamediv> |
| 15 | <refname>subjectset</refname> |
| 16 | <refpurpose>&subjectset.purpose;</refpurpose> |
| 17 | </refnamediv> |
| 18 | |
| 19 | &subjectset.synopsis.gen; |
| 20 | <refsect1 condition='ref.description'><title>Description</title> |
| 21 | |
| 22 | <para> |
| 23 | A <sgmltag>SubjectSet</sgmltag> is a container for a set of |
| 24 | <sgmltag>Subject</sgmltag>s. All of the <sgmltag>Subject</sgmltag>s within a |
| 25 | <sgmltag>SubjectSet</sgmltag> should come from the <emphasis>same</emphasis> |
| 26 | controlled vocabulary. |
| 27 | </para> |
| 28 | <para> |
| 29 | A document can be described using terms from more than one controlled |
| 30 | vocabulary. In order to do this, you should use the |
| 31 | <sgmltag class='attribute'>Scheme</sgmltag> attribute to distinguish between |
| 32 | controlled vocabularies. |
| 33 | </para> |
| 34 | |
| 35 | <refsect2><title>Processing expectations</title> |
| 36 | <para> |
| 37 | &format.context; Subjects are rarely displayed to a reader. Usually, they |
| 38 | are reserved for searching and retrieval purposes. |
| 39 | </para> |
| 40 | <para>DocBook does not specify a relationship between <sgmltag>SubjectSet</sgmltag>s |
| 41 | in different parts of a document or between a <sgmltag>SubjectSet</sgmltag> and |
| 42 | the <sgmltag>SubjectSet</sgmltag>s of enclosing parts of the document. |
| 43 | </para> |
| 44 | </refsect2> |
| 45 | |
| 46 | |
| 47 | |
| 48 | &subjectset.parents.gen; |
| 49 | &subjectset.children.gen; |
| 50 | </refsect1> |
| 51 | <refsect1 condition='ref.elem.attrdesc'><title>Attributes</title> |
| 52 | <variablelist> |
| 53 | <varlistentry><term>scheme</term> |
| 54 | <listitem> |
| 55 | <para> |
| 56 | <sgmltag class='attribute'>Scheme</sgmltag> identifies the controlled vocabulary |
| 57 | used by this <sgmltag>SubjectSet</sgmltag>'s terms. |
| 58 | </para> |
| 59 | </listitem> |
| 60 | </varlistentry> |
| 61 | </variablelist> |
| 62 | </refsect1> |
| 63 | <refsect1 condition='ref.elem.seealso'><title>See Also</title> |
| 64 | &subjectset.seealso.gen; |
| 65 | </refsect1> |
| 66 | <refsect1><title>Examples</title> |
| 67 | |
| 68 | <informalexample role="example-source"> |
| 69 | <programlisting>&subjectset.example.1.txt;</programlisting> |
| 70 | </informalexample> |
| 71 | |
| 72 | &subjectset.example.seealso.gen; |
| 73 | </refsect1> |
| 74 | </refentry> |
| 75 |