<egXML>

<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
Moduletagdocs — 22 Documentation Elements
Attributes att.xmlspace (@xml:space)
Used by
May containEmpty element
Declaration

<rng:element name="egXML">
<rng:ref name="att.global.attributes"/>
<rng:ref name="att.xmlspace.attributes"/>
<rng:zeroOrMore>
 <rng:group>
  <rng:ref name="macro.anyXML"/>
 </rng:group>
</rng:zeroOrMore>
</rng:element>
element egXML { att.global.attributes, att.xmlspace.attributes, macro.anyXML* }
Example
<egXML><langUsage>
  <language ident="en">English</language>
</langUsage>
</egXML>
Note
In the source of the TEI Guidelines, this element declares itself and its content as belonging to the namespace http://www.tei-c.org/ns/Examples. This enables the content of the element to be validated independently against the TEI scheme. Where this element is used outside this context, a different namespace or none at all may be preferable. The content must however be a well-formed XML fragment or document: where this is not the case, the more general eg element should be used in preference.