egXML (hendiAll)

Text

Appendix

<egXML> (example of XML) a single XML fragment demonstrating the use of some XML, such as elements, attributes, or processing instructions, etc., in which the egXML element functions as the root element.

Other Customizations
Attributes
valid
indicates the intended validity of the example with respect to a schema.
Datatype
teidata.enumerated
Possible values
true
the example is intended to be fully valid, assuming that its root element, or a provided root element, could have been used as a possible root element in the schema concerned.
feasible
the example could be transformed into a valid document by inserting any number of valid attributes and child elements anywhere within it; or it is valid against a version of the schema concerned in which the provision of character data, list, element, or attribute values has been made optional.
false
the example is not intended to be valid, and contains deliberate errors.
Example
<egXML>
<div>
    <head>A slide about <gi>egXML</gi></head>
    <list>
     <item><gi>egXML</gi> can be used to give XML examples in the TEI
Examples namespace</item>
     <item>Attributes values for <att>valid</att>:
      <list rend="collapsed">
      <item><val rend="green">true</val>: intended to be fully
valid</item>
      <item><val rend="amber">feasible</val>: valid if missing nodes
provided</item>
      <item><val rend="red">false</val>: not intended to be valid</item>
      </list>
      </item>
      <item>The <att>rend</att>  attribute in the TEI namespace can be
used for recording how parts of the example was rendered.</item>
      </list>
</div>
</egXML>
Example
<egXML valid="feasible" source="#UND">
       <text>
       <front><!-- front matter for the whole group --></front>
       <group>
       <text>
       <!-- first text -->
       </text>
       <text>
       <!-- second text -->
       </text>
       </group>
      </text>
      <!-- This example is not valid TEI, but could be made so by
      adding missing components -->

    </egXML>
Example

Examples

XML

If you've spotted some error or inaccurateness please do not hesitate to inform us via henze-digital [@] zenmem.de.