<elementRef>

<elementRef> points to the specification for some element which is to be included in a schema
Modulotagdocs — 22 Documentation Elements
Attributiatt.global (@xml:id, @n, @xml:lang, @rend, @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:data type="NCName"/>
xsd:NCName
Usato da
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:data type="NCName"/>
 </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 { xsd:NCName },
   empty
}
Esempio
<elementRef key="p"/>

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

Esempio
<elementRef key="p" source="tei:1.2.1"/>

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