<keywords>

<keywords> contains a list of keywords or phrases identifying the topic or nature of a text. [2.4.3 The Text Classification]
Moduleheader — 2 The TEI Header
Attributesatt.global (@xml:id, @n, @xml:lang, @rend, @rendition, @xml:base, @xml:space) (att.global.linking (@corresp, @synch, @sameAs, @copyOf, @next, @prev, @exclude, @select)) (att.global.analytic (@ana)) (att.global.facs (@facs)) (att.global.change (@change))
schemeidentifies the controlled vocabulary within which the set of keywords concerned is defined.
Status Required
Datatype

<rng:ref name="data.pointer"/>
data.pointer
Values may point to a local definition, for example in a taxonomy element, or more usually to some external location where the scheme is fully defined.
Used by
Contained by
header: textClass
May contain
core: list term
Declaration

<rng:element name="keywords">
 <rng:ref name="att.global.attributes"/>
 <rng:ref name="att.global.linking.attributes"/>
 <rng:ref name="att.global.analytic.attributes"/>
 <rng:ref name="att.global.facs.attributes"/>
 <rng:ref name="att.global.change.attributes"/>
 <rng:attribute name="scheme">
  <rng:ref name="data.pointer"/>
 </rng:attribute>
 <rng:choice>
  <rng:oneOrMore>
   <rng:ref name="term"/>
  </rng:oneOrMore>
  <rng:ref name="list"/>
 </rng:choice>
</rng:element>
element keywords
{
   att.global.attributes,
   att.global.linking.attributes,
   att.global.analytic.attributes,
   att.global.facs.attributes,
   att.global.change.attributes,
   attribute scheme { data.pointer },
   ( term+ | list )
}
Example
<keywords scheme="http://classificationweb.net">
 <term>Babbage, Charles</term>
 <term>Mathematicians - Great Britain - Biography</term>
</keywords>
Note
Each individual keyword (including compound subject headings) should be supplied as a term element directly within the keywords element. An alternative usage, in which each term appears within a item inside a list is permitted for backwards compatibility, but is deprecated.