<elementRef>

<elementRef> points to the specification for some element which is to be included in a schema [22.2 Modules and Schemas]
Moduletagdocs — Documentation Elements
Attributesatt.global (@xml:id, @n, @xml:lang, @xml:base, @xml:space) (att.global.rendition (@rend, @style, @rendition)) (att.global.linking (@corresp, @synch, @sameAs, @copyOf, @next, @prev, @exclude, @select)) (att.global.analytic (@ana)) (att.global.facs (@facs)) (att.global.change (@change)) (att.global.responsibility (@cert, @resp)) (att.global.source (@source)) att.repeatable (@context, @minOccurs, @maxOccurs)
keythe identifier used for the required element within the source indicated.
Status Required
Datatype teidata.xmlName
Member of
Contained by
May containEmpty element
Note

Elements are identified by the name supplied as value for the ident attribute on the elementSpec element in which they are declared. TEI element names are unique.

Example
<elementRef key="p"/>

Include in the schema an element named p available from the current default source.

Example
<elementRef key="psource="tei:1.2.1"/>

Include in the schema an element named p available from the TEI P5 1.2.1 release.

Content model
<content/>
Schema Declaration
<rng:element name="elementRef">
 <rng:ref name="att.global.attributes"/>
 <rng:ref name="att.global.rendition.attributes"/>
 <rng:ref name="att.global.linking.attributes"/>
 <rng:ref name="att.global.analytic.attributes"/>
 <rng:ref name="att.global.facs.attributes"/>
 <rng:ref name="att.global.change.attributes"/>
 <rng:ref name="att.global.responsibility.attributes"/>
 <rng:ref name="att.global.source.attributes"/>
 <rng:ref name="att.repeatable.attributes"/>
 <rng:attribute name="key">
  <rng:ref name="teidata.xmlName"/>
 </rng:attribute>
 <rng:empty/>
</rng:element>
element elementRef
{
   att.global.attributes,
   att.global.rendition.attributes,
   att.global.linking.attributes,
   att.global.analytic.attributes,
   att.global.facs.attributes,
   att.global.change.attributes,
   att.global.responsibility.attributes,
   att.global.source.attributes,
   att.repeatable.attributes,
   attribute key { teidata.xmlName },
   empty
}