Skip to content

<textClass>

text classification

groups information which describes the nature or topic of a text in terms of a standard classification scheme, thesaurus, etc.

Module headerHD43

Attributes

Classes and content

Member of
May contain
Contained by

Example

<taxonomy>
  <category xml:id="acprose">
    <catDesc>Academic prose</catDesc>
  </category>
  <!-- other categories here -->
</taxonomy>
<!-- ... -->
<textClass>
  <catRef target="#acprose"/>
  <classCode scheme="http://www.udcc.org">001.9</classCode>
  <keywords scheme="http://authorities.loc.gov">
    <list>
      <item>End of the world</item>
      <item>History - philosophy</item>
    </list>
  </keywords>
</textClass>

Schematron

<constraintSpec xmlns:sch="http://purl.oclc.org/dsdl/schematron" ident="textClass-is-declarable" scheme="schematron" xml:lang="en">
    <constraint>
      <sch:pattern is-a="declarable">
        <sch:param name="tde" value="tei:textClass"/>
      </sch:pattern>
    </constraint>
  </constraintSpec>

Content model

<content>
    <alternate minOccurs="0" maxOccurs="unbounded">
      <elementRef key="classCode"/>
      <elementRef key="catRef"/>
      <elementRef key="keywords"/>
    </alternate>
  </content>