<macroSpec>

<macroSpec> (macroespecificación) documenta la función y la aplicación de un pattern (patrón). [22.3 Specification Elements 22.4.7 Pattern Documentation]
Módulotagdocs — Documentation Elements
Atributosatt.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.identified (@ident, @predeclare, @module) (att.combinable (@mode) (att.deprecated (@validUntil)) )
typeindica que tipo de entidad debe generarse cuando un procesador ODD genera un módulo utilizando la sintaxis SGML
Estado Opcional
Tipo de datos

<rng:ref name="data.enumerated"/>
data.enumerated
Los valores admitidos son:
pe
(entidad parámetro)
dt
(entidad tipo de datos)
Miembro de
Contenido en
Puede contener
Declaración

<rng:element name="macroSpec">
 <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.identified.attributes"/>
 <rng:ref name="att.combinable.attributes"/>
 <rng:ref name="att.deprecated.attributes"/>
 <rng:optional>
  <rng:attribute name="type">
   <xhtml:dl class="valList"/>
  </rng:attribute>
 </rng:optional>
 <rng:group>
  <rng:zeroOrMore>
   <rng:choice>
    <rng:ref name="model.glossLike"/>
    <rng:ref name="model.descLike"/>
   </rng:choice>
  </rng:zeroOrMore>
  <rng:zeroOrMore>
   <rng:choice>
    <rng:ref name="content"/>
    <rng:ref name="valList"/>
   </rng:choice>
  </rng:zeroOrMore>
  <rng:zeroOrMore>
   <rng:ref name="constraintSpec"/>
  </rng:zeroOrMore>
  <rng:zeroOrMore>
   <rng:ref name="exemplum"/>
  </rng:zeroOrMore>
  <rng:zeroOrMore>
   <rng:ref name="remarks"/>
  </rng:zeroOrMore>
  <rng:zeroOrMore>
   <rng:ref name="listRef"/>
  </rng:zeroOrMore>
 </rng:group>
</rng:element>
element macroSpec
{
   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.identified.attributes,
   att.combinable.attributes,
   att.deprecated.attributes,
   attribute type { text }?,
   (
      ( model.glossLike | model.descLike )*,
      ( content | valList )*,
      constraintSpec*,
      exemplum*,
      remarks*,
      listRef*
   )
}
Ejemplo
<macroSpec module="teitype="pe"
 ident="macro.phraseSeq">

 <content>
  <rng:zeroOrMore>
   <rng:choice>
    <rng:text/>
    <rng:ref name="model.gLike"/>
    <rng:ref name="model.phrase"/>
    <rng:ref name="model.global"/>
   </rng:choice>
  </rng:zeroOrMore>
 </content>
</macroSpec>