<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))
에 의해 포함된
포함할 수 있다
주석

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

<taxonomy xml:id="tax.b">
 <bibl>Brown Corpus</bibl>
 <category xml:id="tax.b.a">
  <catDesc>Press Reportage</catDesc>
  <category xml:id="tax.b.a1">
   <catDesc>Daily</catDesc>
  </category>
  <category xml:id="tax.b.a2">
   <catDesc>Sunday</catDesc>
  </category>
  <category xml:id="tax.b.a3">
   <catDesc>National</catDesc>
  </category>
  <category xml:id="tax.b.a4">
   <catDesc>Provincial</catDesc>
  </category>
  <category xml:id="tax.b.a5">
   <catDesc>Political</catDesc>
  </category>
  <category xml:id="tax.b.a6">
   <catDesc>Sports</catDesc>
  </category>
 </category>
 <category xml:id="tax.b.d">
  <catDesc>Religion</catDesc>
  <category xml:id="tax.b.d1">
   <catDesc>Books</catDesc>
  </category>
  <category xml:id="tax.b.d2">
   <catDesc>Periodicals and tracts</catDesc>
  </category>
 </category>
</taxonomy>
<taxonomy>
 <category xml:id="literature">
  <catDesc>Literature</catDesc>
  <category xml:id="poetry">
   <catDesc>Poetry</catDesc>
   <category xml:id="sonnet">
    <catDesc>Sonnet</catDesc>
    <category xml:id="shakesSonnet">
     <catDesc>Shakespearean Sonnet</catDesc>
    </category>
    <category xml:id="petraSonnet">
     <catDesc>Petrarchan Sonnet</catDesc>
    </category>
   </category>
   <category xml:id="haiku">
    <catDesc>Haiku</catDesc>
   </category>
  </category>
  <category xml:id="drama">
   <catDesc>Drama</catDesc>
  </category>
 </category>
 <category xml:id="meter">
  <catDesc>Metrical Categories</catDesc>
  <category xml:id="feet">
   <catDesc>Metrical Feet</catDesc>
   <category xml:id="iambic">
    <catDesc>Iambic</catDesc>
   </category>
   <category xml:id="trochaic">
    <catDesc>trochaic</catDesc>
   </category>
  </category>
  <category xml:id="feetNumber">
   <catDesc>Number of feet</catDesc>
   <category xml:id="pentameter">
    <catDesc>>Pentameter</catDesc>
   </category>
   <category xml:id="tetrameter">
    <catDesc>>Tetrameter</catDesc>
   </category>
  </category>
 </category>
</taxonomy>
<!-- elsewhere in document -->
<lg ana="#shakesSonnet #iambic #pentameter">
 <l>Shall I compare thee to a summer's day</l>
<!-- ... -->
</lg>
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.glossLike"/>
     <classRef key="model.descLike"/>
    </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.glossLike"/>
      <rng:ref name="model.descLike"/>
     </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.glossLike | model.descLike )+, ( category | taxonomy )* )
      )
    | ( model.biblLike, ( category | taxonomy )* )
   )
}