<macroRef>

<macroRef> points to the specification for some pattern which is to be included in a schema [23.7 Macro Specifications]
모듈 tagdocs — Documentation Elements
속성
key⚓︎ the identifier used for the required pattern within the source indicated.
상태 필수적
자료 유형 teidata.xmlName
클럽 회원
에 의해 포함된
포함할 수 있다 공백 요소
주석

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.

<schemaSpec ident="myTEI"
 source="http://www.tei-c.org/Vault/P5/current/xml/tei/odd/p5subset.xml">

<!-- ... -->
 <macroRef key="macro.paraContent"/>
<!-- ... -->
</schemaSpec>
Content model
<content>
 <empty/>
</content>
선언
<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.global.source.attributes"/>
 <rng:attribute name="key">
  <rng:ref name="teidata.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.global.source.attributes,
   attribute key { teidata.xmlName },
   empty
}