att.identified

att.identified provides identifying attributes for elements which can be subsequently referenced by means of a key attribute.
Module tagdocs — Documentation Elements
Members attDef classSpec constraintSpec dataSpec elementSpec macroSpec moduleSpec paramSpec schemaSpec
Attributes att.combinable (@mode) (att.deprecated (@validUntil))
ident⚓ supplies the identifier by which this element may be referenced.
Status Required
Datatype teidata.name
predeclare⚓ says whether this object should be predeclared in the tei infrastructure module.
Status Optional
Datatype teidata.truthValue
Default false
module⚓ supplies a name for the module in which this object is to be declared.
Status Optional
Datatype teidata.xmlName
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>