<anyElement>

<anyElement> indicates the presence of any elements in a content model [22 Documentation Elements]
組件tagdocs — Documentation Elements
屬性att.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.global.source (@source)) att.repeatable (@minOccurs, @maxOccurs)
requiresupplies a list of namespaces to one of which the permitted elements must belong.
狀態 非必備的
資料類型 1–∞ 次可出現: teidata.namespace 以空白鍵隔開
exceptsupplies a list of namespaces or prefixed element names which are not permitted.
狀態 非必備的
資料類型 1–∞ 次可出現: teidata.namespaceOrName 以空白鍵隔開
俱乐部会员
可包含在於
可包含空白元素
例子
<content>
 <anyElement except="http://www.tei-c.org/ns/1.0"/>
</content>

This content element permits one occurrence of any element which does not belong to the TEI namespace.

例子
<content>
 <anyElement minOccurs="1"
  maxOccurs="unbounded"
  require="http://www.w3.org/1998/Math/MathML http://www.tei-c.org/ns/Examples/1.0"/>

</content>

This content element permits one or more elements which belong either to the MathML namespace or to the TEI examples namespace.

例子
<content>
 <alternate minOccurs="1"
  maxOccurs="unbounded">

  <textNode/>
  <anyElement require="http://www.tei-c.org/ns/Examples/1.0"/>
 </alternate>
</content>

This content element permits one or more children which are either text nodes or elements from the TEI examples namespace. It is the equivalent of the content model ANY in an XML DTD using the TEI All schema.

Content model
<content>
 <empty/>
</content>
宣告
<rng:element name="anyElement">
 <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:ref name="att.repeatable.attributes"/>
 <rng:optional>
  <rng:attribute name="require">
   <rng:list>
    <rng:oneOrMore>
     <rng:ref name="teidata.namespace"/>
    </rng:oneOrMore>
   </rng:list>
  </rng:attribute>
 </rng:optional>
 <rng:optional>
  <rng:attribute name="except">
   <rng:list>
    <rng:oneOrMore>
     <rng:ref name="teidata.namespaceOrName"/>
    </rng:oneOrMore>
   </rng:list>
  </rng:attribute>
 </rng:optional>
 <rng:empty/>
</rng:element>
element anyElement
{
   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,
   att.repeatable.attributes,
   attribute require { list { teidata.namespace+ } }?,
   attribute except { list { teidata.namespaceOrName+ } }?,
   empty
}