macro.anyXML

macro.anyXML defines a content model within which any XML elements are permitted
モジュール tei — 1 The TEI Infrastructure
当該モジュールを使用するもの
宣言

<rng:define name="macro.anyXML">
 <rng:element>
  <rng:anyName/>
  <rng:zeroOrMore>
   <rng:choice>
    <rng:attribute>
     <rng:anyName>
      <rng:except>
       <rng:name>xml:id</rng:name>
       <rng:name>xml:lang</rng:name>
      </rng:except>
     </rng:anyName>
    </rng:attribute>
    <rng:text/>
    <rng:ref name="macro.anyXML"/>
   </rng:choice>
  </rng:zeroOrMore>
 </rng:element>
</rng:define>
macro.anyXML =
   element *
   {
      ( attribute * - (xml:id | xml:lang) { text } | text | macro.anyXML )*
   }