<egXML> [http://www.tei-c.org/ns/Examples]

<egXML> (example of XML) contains a single well-formed XML fragment demonstrating the use of some XML element or attribute, in which the egXML element itself functions as the root element. 22.4.4 Element Specifications 22.4.5 Attribute List Specification
Modultagdocs — 22 Documentation Elements
Attributeatt.global (@xml:id, @n, @xml:lang, @rend, @rendition, @xml:base, @xml:space) (att.global.linking (@corresp, @synch, @sameAs, @copyOf, @next, @prev, @exclude, @select)) (att.global.analytic (@ana)) (att.global.facs (@facs))
validindicates the intended validity of the example with respect to a schema.
Zustand Optional
Gültige Werte:
true
the example is intended to be fully valid, assuming that its root element can be used as the root element in the schema concerned. [Vorgabe]
feasible
the example could be transformed into a valid document by inserting any number of valid attributes and child elements anywhere within it; it is valid against a version of the schema concerned in which every data, list, element, or attribute element has been made optional.
false
the example is not intended to be valid, and contains deliberate errors.
Verwendet von
Enthalten in
Kann enthaltenANY
Deklaration

<rng:element name="egXML">
 <rng:ref name="att.global.attributes"/>
 <rng:ref name="att.global.linking.attributes"/>
 <rng:ref name="att.global.analytic.attributes"/>
 <rng:ref name="att.global.facs.attributes"/>
 <rng:optional>
  <rng:attribute name="valid" a:defaultValue="true">
   <rng:choice>
    <rng:value>true</rng:value>
    <rng:value>feasible</rng:value>
    <rng:value>false</rng:value>
   </rng:choice>
  </rng:attribute>
 </rng:optional>
 <rng:zeroOrMore>
  <rng:group>
   <rng:choice>
    <rng:text/>
    <rng:ref name="macro.anyXML"/>
   </rng:choice>
  </rng:group>
 </rng:zeroOrMore>
</rng:element>
element egXML
{
   att.global.attributes,
   att.global.linking.attributes,
   att.global.analytic.attributes,
   att.global.facs.attributes,
   attribute valid { "true" | "feasible" | "false" }?,
   text | macro.anyXML*
}
Beispiel

<egXML>
<langUsage>
<language ident="en">English</language>
</langUsage>
</egXML>