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]
Modul tei — The TEI Infrastructure
Mitglieder 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
Attribute
default⚓︎ indicates whether or not this element is selected by default when its parent is selected.
Zustand Optional
Datentyp teidata.truthValue
Gültige Werte:
true
This element is selected if its parent is selected
false
This element can only be selected explicitly, unless it is the only one of its kind, in which case it is selected if its parent is selected. [Vorgabe]
Schematron

<sch:pattern id="declarableabstract="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>