<category>

<category> (category) 在使用者定義之分類法當中,此元素包含一項個別的描述性類目,該類目可能位於一個更上層的類目之中。 [2.3.7 The Classification Declaration]
組件 header — The TEI Header
屬性
可包含在於
可包含
core: desc gloss
tagdocs: equiv
例子
<category xml:id="zh-tw_b1">
 <catDesc>報導文學</catDesc>
</category>
例子
<category xml:id="zh-tw_b2">
 <catDesc>散文 </catDesc>
 <category xml:id="zh-tw_b11">
  <catDesc>報導性質</catDesc>
 </category>
 <category xml:id="zh-tw_b12">
  <catDesc>虛構</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:ref name="att.datcat.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,
   att.datcat.attributes,
   ( ( catDesc+ | ( model.descLike | equiv | gloss )* ), category* )
}