<anyElement>
<anyElement> indicates the presence of any elements in a content model [22 Documentation Elements] | |||||||||||||
Module | tagdocs — Documentation Elements | ||||||||||||
Attributs |
|
||||||||||||
Membre du | |||||||||||||
Contenu dans | |||||||||||||
Peut contenir | Elément vide | ||||||||||||
Exemple |
<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. |
||||||||||||
Exemple |
<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. |
||||||||||||
Exemple |
<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 |
||||||||||||
Modèle de contenu |
<content> |
||||||||||||
Schéma Declaration |
<rng:element name="anyElement"> 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 } |