| <taxonomy> (taxonomy) defines a typology either implicitly, by means of a bibliographic citation, or explicitly by a structured taxonomy. [2.3.7. The Classification Declaration] |
| Module | header — Specification |
| Attributes | |
| Contained by | |
| May contain | |
| Note | Nested taxonomies are common in many fields, so the <taxonomy> element can be nested. |
| Example | <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>
|
| Example | <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>
<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.descLike"
minOccurs="1" maxOccurs="1"/>
<elementRef key="equiv" minOccurs="1"
maxOccurs="1"/>
<elementRef key="gloss" minOccurs="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>
⚓ |
| Schema Declaration |
element taxonomy
{
att.global.attributes,
att.datcat.attributes,
(
(
( category | taxonomy )+
| ( ( model.descLike | equiv | gloss )+, ( category | taxonomy )* )
)
| ( model.biblLike, ( category | taxonomy )* )
)
}⚓
|