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
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

<sch:rule context="tei:elementSpec[@module]|tei:classSpec[@module]|tei:macroSpec[@module]">
<sch: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 <sch:value-of select="@ident"/>: the value of the module attribute ("<sch:value-of select="@module"/>")
should correspond to an existing module, via a moduleSpec or
moduleRef</sch:assert>
</sch:rule>