att.declarable
att.declarable individua attributi per gli elementi contenuti nell'intestazione che possono essere selezionati autonomamente grazie all'apposito attributo decls [16.3 Associating Contextual Information with a Text] | |||||||||
Modulo | tei — The TEI Infrastructure | ||||||||
Membri | 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 | ||||||||
Attributi |
|
||||||||
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> |