Skip to content

<anyElement>

indicates the presence of any elements in a content model.

Module tagdocsTD

Attributes

@requiresupplies a list of namespaces to one of which the permitted elements must belong.
Status
Datatype
1–∞ occurrences of teidata.namespace separated by whitespace
@exceptsupplies a list of namespaces or prefixed element names which are not permitted.
Status
Datatype
1–∞ occurrences of teidata.namespaceOrName separated by whitespace

Classes and content

Member of
May contain
empty
Contained by

Examples

<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>