att.identified
att.identified provides the identifying attribute for elements which can be subsequently referenced by means of a key attribute. | ||||||||||||||||||||||||||||||||||
Module | tagdocs — Documentation Elements | |||||||||||||||||||||||||||||||||
Members | attDef classSpec constraintSpec elementSpec macroSpec moduleSpec schemaSpec | |||||||||||||||||||||||||||||||||
Attributes | att.combinable (@mode) (att.deprecated (@validUntil))
| |||||||||||||||||||||||||||||||||
Schematron | <s:rule context="tei:elementSpec[@module]|tei:classSpec[@module]|tei:macroSpec[@module]"> <s:assert test=" (not(ancestor::tei:schemaSpec | ancestor::tei:TEI | ancestor::tei:teiCorpus)) or (not(@module) or (not(//tei:moduleSpec) and not(//tei:moduleRef)) or (//tei:moduleSpec[@ident = current()/@module]) or (//tei:moduleRef[@key = current()/@module])) "> Specification <s:value-of select="@ident"/>: the value of the module attribute ("<s:value-of select="@module"/>") should correspond to an existing module, via a moduleSpec or moduleRef</s:assert></s:rule> |