macro.anyXML

macro.anyXML defines a content model within which any XML elements are permitted
Moduletei — The TEI Infrastructure
Used by
Declaration

<rng:define name="macro.anyXML">
 <rng:element>
  <rng:anyName>
   <rng:except>
    <rng:nsName ns="http://www.tei-c.org/ns/1.0"/>
    <rng:name ns="http://www.tei-c.org/ns/Examples">egXML</rng:name>
   </rng:except>
  </rng:anyName>
  <rng:zeroOrMore>
   <rng:attribute>
    <rng:anyName/>
   </rng:attribute>
  </rng:zeroOrMore>
  <rng:zeroOrMore>
   <rng:choice>
    <rng:text/>
    <rng:ref name="macro.anyXML"/>
   </rng:choice>
  </rng:zeroOrMore>
 </rng:element>
</rng:define>
macro.anyXML =
   element * - (tei:* | teix:egXML)
   {
      attribute * { text }*,
      ( text | macro.anyXML )*
   }