<macroRef>

<macroRef> points to the specification for some pattern 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 pattern within the source indicated.
Status Required
Datatype

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

<rng:element name="macroRef">
 <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 macroRef
{
   att.global.attributes,
   att.readFrom.attributes,
   attribute key { xsd:NCName },
   empty
}
Example

<!-- example needed -->
Note
Patterns or macros are identified by the name supplied as value for the ident attribute on the macroSpec element in which they are declared. All TEI macro names are unique.