<macroRef>

<macroRef> points to the specification for some pattern which is to be included in a schema [22.4.7 Pattern Documentation]
Modultagdocs — Documentation Elements
Attributeatt.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.readFrom (@source)
keythe identifier used for the required pattern within the source indicated.
Zustand Obligatorisch
Datentyp

<rng:ref name="data.xmlName"/>
data.xmlName
Mitglied des
Enthalten in
Kann enthaltenLeeres Element
Deklaration

<rng:element name="macroRef">
 <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.readFrom.attributes"/>
 <rng:attribute name="key">
  <rng:ref name="data.xmlName"/>
 </rng:attribute>
 <rng:empty/>
</rng:element>
element macroRef
{
   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.readFrom.attributes,
   attribute key { data.xmlName },
   empty
}
Beispiel
<schemaSpec ident="myTEI"
 source="http://www.tei-c.org/Vault/P5/current/xml/tei/odd/p5subset.xml">

<!-- ... -->
 <macroRef key="data.text"
  source="tei:1.5.0"/>

<!-- ... -->
</schemaSpec>