<elementRef>

<elementRef> points to the specification for some element which is to be included in a schema [22.2 Modules and Schemas]
Modulotagdocs — Documentation Elements
Attributiatt.global (@xml:id, @n, @xml:lang, @rend, @style, @rendition, @xml:base, @xml:space) (att.global.linking (@corresp, @synch, @sameAs, @copyOf, @next, @prev, @exclude, @select)) (att.global.analytic (@ana)) (att.global.facs (@facs)) (att.global.change (@change)) att.readFrom (@source)
keythe identifier used for the required element within the source indicated.
Stato Richiesto
Tipo di dati

<rng:ref name="data.xmlName"/>
data.xmlName
Membro del
Contenuto in
Può contenereElemento vuoto
Dichiarazione

<rng:element name="elementRef">
 <rng:ref name="att.global.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.readFrom.attributes"/>
 <rng:attribute name="key">
  <rng:ref name="data.xmlName"/>
 </rng:attribute>
 <rng:empty/>
</rng:element>
element elementRef
{
   att.global.attributes,
   att.global.linking.attributes,
   att.global.analytic.attributes,
   att.global.facs.attributes,
   att.global.change.attributes,
   att.readFrom.attributes,
   attribute key { data.xmlName },
   empty
}
Esempio
<elementRef key="p"/>

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

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

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