Skip to content

<tagsDecl>

tagging declaration

provides detailed information about the tagging applied to a document.

Module headerHD57HD5

Attributes

@partialindicates whether the element types listed exhaustively include all those found within text, or represent only a subset.
Status
Recommended
Datatype
teidata.truthValue

Classes and content

Member of
May contain
Contained by

Example

<tagsDecl partial="true">
  <rendition xml:id="rend-it" scheme="css" selector="emph, hi, name, title">font-style: italic;</rendition>
  <namespace name="http://www.tei-c.org/ns/1.0">
    <tagUsage gi="hi" occurs="467"/>
    <tagUsage gi="title" occurs="45"/>
  </namespace>
  <namespace name="http://docbook.org/ns/docbook">
    <tagUsage gi="para" occurs="10"/>
  </namespace>
</tagsDecl>

If the @partial attribute were not specified here, the implication would be that the document in question contains only hi, title, and para elements.

Content model

<content>
    <sequence>      
      <elementRef key="rendition" minOccurs="0" maxOccurs="unbounded"/>
      <elementRef key="namespace" minOccurs="0" maxOccurs="unbounded"/>
    </sequence>
  </content>