att.declarable
att.declarable provides attributes for those elements in the TEI header which may be independently selected by means of the special purpose decls attribute. [16.3 Associating Contextual Information with a Text] | |||||||||
Module | tei — The TEI Infrastructure | ||||||||
Members | availability bibl biblFull biblStruct broadcast correction correspDesc editorialDecl equipment geoDecl hyphenation interpretation langUsage listApp listBibl listEvent listNym listObject listOrg listPerson listPlace metDecl normalization particDesc projectDesc punctuation quotation recording refsDecl samplingDecl scriptStmt segmentation seriesStmt settingDesc sourceDesc stdVals styleDefDecl textClass textDesc xenoData | ||||||||
Attributes |
|
||||||||
Schematron |
<sch:pattern id="declarable" abstract="true"> <!-- parameter 'tde' is for "this declarable element (type)" --> <sch:rule context="$tde[ ancestor::tei:teiHeader and following-sibling::$tde and not( preceding-sibling::$tde ) ]"> <sch:report test="../child::$tde[ not( @xml:id ) ]"> When there is more than one <sch:name/>, each must have an @xml:id </sch:report> <sch:assert test="count( ../child::$tde[ normalize-space( @default ) = ('1','true') ] ) eq 1"> When there is more than one <sch:name/>, one and only one must have a @default of 'true'. </sch:assert> </sch:rule> </sch:pattern> |
||||||||
Note |
The rules governing the association of declarable elements with individual parts of a TEI text are fully defined in chapter 16.3 Associating Contextual Information with a Text. Only one element of a particular type may have a default attribute with a value of true. |