<taxonomy>

<taxonomy> (taxonomy) 定義文件分類的類型學,可以是潛在地以書目資料的方式,或是明確地以結構分類法的方式來分類。 [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))
可包含在於
可包含
msdescription: msDesc
tagdocs: equiv

Nested taxonomies are common in many fields, so the taxonomy element can be nested.

例子
<taxonomy xml:id="zh-tw_tax.b">
 <bibl>布朗集</bibl>
 <category xml:id="zh-tw_tax.b.a">
  <catDesc>媒體採訪報導</catDesc>
  <category xml:id="zh-tw_tax.b.a1">
   <catDesc>日報</catDesc>
  </category>
  <category xml:id="zh-tw_tax.b.a2">
   <catDesc>週日</catDesc>
  </category>
  <category xml:id="zh-tw_tax.b.a3">
   <catDesc>全國性</catDesc>
  </category>
  <category xml:id="zh-tw_tax.b.a4">
   <catDesc>地方性</catDesc>
  </category>
  <category xml:id="zh-tw_tax.b.a5">
   <catDesc>政治</catDesc>
  </category>
  <category xml:id="zh-tw_tax.b.a6">
   <catDesc>體育</catDesc>
  </category>
 </category>
 <category xml:id="zh-tw_tax.b.d">
  <catDesc>宗教</catDesc>
  <category xml:id="zh-tw_tax.b.d1">
   <catDesc>藝文</catDesc>
  </category>
  <category xml:id="zh-tw_tax.b.d2">
   <catDesc>期刊與短文</catDesc>
  </category>
 </category>
</taxonomy>
Content model
<content>
 <alternate>
  <alternate>
   <alternate minOccurs="1"
    maxOccurs="unbounded">

    <elementRef key="category"/>
    <elementRef key="taxonomy"/>
   </alternate>
   <sequence>
    <alternate minOccurs="1"
     maxOccurs="unbounded">

     <classRef key="model.descLike"
      minOccurs="1maxOccurs="1"/>

     <elementRef key="equivminOccurs="1"
      maxOccurs="1"/>

     <elementRef key="glossminOccurs="1"
      maxOccurs="1"/>

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

     <elementRef key="category"/>
     <elementRef key="taxonomy"/>
    </alternate>
   </sequence>
  </alternate>
  <sequence>
   <classRef key="model.biblLike"/>
   <alternate minOccurs="0"
    maxOccurs="unbounded">

    <elementRef key="category"/>
    <elementRef key="taxonomy"/>
   </alternate>
  </sequence>
 </alternate>
</content>
宣告
<rng:element name="taxonomy">
 <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:choice>
  <rng:choice>
   <rng:oneOrMore>
    <rng:choice>
     <rng:ref name="category"/>
     <rng:ref name="taxonomy"/>
    </rng:choice>
   </rng:oneOrMore>
   <rng:group>
    <rng:oneOrMore>
     <rng:choice>
      <rng:ref name="model.descLike"/>
      <rng:ref name="equiv"/>
      <rng:ref name="gloss"/>
     </rng:choice>
    </rng:oneOrMore>
    <rng:zeroOrMore>
     <rng:choice>
      <rng:ref name="category"/>
      <rng:ref name="taxonomy"/>
     </rng:choice>
    </rng:zeroOrMore>
   </rng:group>
  </rng:choice>
  <rng:group>
   <rng:ref name="model.biblLike"/>
   <rng:zeroOrMore>
    <rng:choice>
     <rng:ref name="category"/>
     <rng:ref name="taxonomy"/>
    </rng:choice>
   </rng:zeroOrMore>
  </rng:group>
 </rng:choice>
</rng:element>
element taxonomy
{
   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,
   (
      (
         ( category | taxonomy )+
       | ( ( model.descLike | equiv | gloss )+, ( category | taxonomy )* )
      )
    | ( model.biblLike, ( category | taxonomy )* )
   )
}