<elementRef>

<elementRef> points to the specification for some element which is to be included in a schema
Module tagdocs — 22 Documentation Elements
In addition to global attributes att.readFrom (@source)
key the identifier used for the required element within the source indicated.
Status Required
Datatype

<rng:data type="NCName"/>
xsd:NCName
Used by
May contain Empty element
Declaration

<rng:element name="elementRef">
 <rng:ref name="att.global.attributes"/>
 <rng:ref name="att.readFrom.attributes"/>
 <rng:attribute name="key">
  <rng:data type="NCName"/>
 </rng:attribute>
 <rng:empty/>
</rng:element>
element elementRef
{
   att.global.attributes,
   att.readFrom.attributes,
   attribute key { xsd:NCName },
   empty
}
Example
<elementRef key="p"/>

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

Example
<elementRef key="p" source="tei:5.1.2"/>

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

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.