<category>

<category> contiene una sola categoria descrittiva, possibilmente innestata in una categoria più generale, all'interno di una tassonomia definita dall'utente. 2.3.6 The Classification Declaration
Modulo header — 2 The TEI Header
Usato da
Può contenere
core: desc gloss
header: catDesc category
tagdocs: altIdent equiv
Dichiarazione

<rng:element name="category">
 <rng:ref name="att.global.attributes"/>
 <rng:group>
  <rng:choice>
   <rng:oneOrMore>
    <rng:ref name="catDesc"/>
   </rng:oneOrMore>
   <rng:zeroOrMore>
    <rng:ref name="model.glossLike"/>
   </rng:zeroOrMore>
  </rng:choice>
  <rng:zeroOrMore>
   <rng:ref name="category"/>
  </rng:zeroOrMore>
 </rng:group>
</rng:element>
element category
{
   att.global.attributes,
   ( ( catDesc+ | model.glossLike* ), category* )
}
Esempio
<category xml:id="b1">
 <catDesc>Prose reportage</catDesc>
</category>
Esempio
<category xml:id="b2">
 <catDesc>Prose </catDesc>
 <category xml:id="b11">
  <catDesc>journalism</catDesc>
 </category>
 <category xml:id="b12">
  <catDesc>fiction</catDesc>
 </category>
</category>
Esempio
<category xml:id="LIT">
 <catDesc xml:lang="pl">literatura piękna</catDesc>
 <catDesc xml:lang="en">fiction</catDesc>
 <category xml:id="LPROSE">
  <catDesc xml:lang="pl">proza</catDesc>
  <catDesc xml:lang="en">prose</catDesc>
 </category>
 <category xml:id="LPOETRY">
  <catDesc xml:lang="pl">poezja</catDesc>
  <catDesc xml:lang="en">poetry</catDesc>
 </category>
 <category xml:id="LDRAMA">
  <catDesc xml:lang="pl">dramat</catDesc>
  <catDesc xml:lang="en">drama</catDesc>
 </category>
</category>