<category>

<category> (category) 記述的な分類項目を示す.利用者が定義した分類法の元に上位分類項目中に 入れ子にしてもよい. [2.3.7 The Classification Declaration]
モジュールheader — The TEI Header
属性att.global (@xml:id, @n, @xml:lang, @xml:base, @xml:space) (att.global.rendition (@rend, @style, @rendition)) (att.global.linking (@corresp, @synch, @sameAs, @copyOf, @next, @prev, @exclude, @select)) (att.global.analytic (@ana)) (att.global.facs (@facs)) (att.global.change (@change)) (att.global.responsibility (@cert, @resp)) (att.global.source (@source))
上位
下位
core: desc gloss
tagdocs: equiv
<category xml:id="b1">
 <catDesc>Prose reportage</catDesc>
</category>
<category xml:id="b2">
 <catDesc>Prose </catDesc>
 <category xml:id="b11">
  <catDesc>journalism</catDesc>
 </category>
 <category xml:id="b12">
  <catDesc>fiction</catDesc>
 </category>
</category>
<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>
Content model
<content>
 <sequence>
  <alternate>
   <elementRef key="catDescminOccurs="1"
    maxOccurs="unbounded"/>

   <alternate minOccurs="0"
    maxOccurs="unbounded">

    <classRef key="model.descLike"/>
    <elementRef key="equiv"/>
    <elementRef key="gloss"/>
   </alternate>
  </alternate>
  <elementRef key="categoryminOccurs="0"
   maxOccurs="unbounded"/>

 </sequence>
</content>
宣言
<rng:element name="category">
 <rng:ref name="att.global.attributes"/>
 <rng:ref name="att.global.rendition.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:ref name="att.global.responsibility.attributes"/>
 <rng:ref name="att.global.source.attributes"/>
 <rng:group>
  <rng:choice>
   <rng:oneOrMore>
    <rng:ref name="catDesc"/>
   </rng:oneOrMore>
   <rng:zeroOrMore>
    <rng:choice>
     <rng:ref name="model.descLike"/>
     <rng:ref name="equiv"/>
     <rng:ref name="gloss"/>
    </rng:choice>
   </rng:zeroOrMore>
  </rng:choice>
  <rng:zeroOrMore>
   <rng:ref name="category"/>
  </rng:zeroOrMore>
 </rng:group>
</rng:element>
element category
{
   att.global.attributes,
   att.global.rendition.attributes,
   att.global.linking.attributes,
   att.global.analytic.attributes,
   att.global.facs.attributes,
   att.global.change.attributes,
   att.global.responsibility.attributes,
   att.global.source.attributes,
   ( ( catDesc+ | ( model.descLike | equiv | gloss )* ), category* )
}