<egXML>
<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. [22.1.1. Phrase Level Terms]
| Namespace | http://www.tei-c.org/ns/Examples | ||||||||
| Module | tagdocs | ||||||||
| Attributes |
att.global
xml:id
n
xml:lang
att.global.rendition
style
rendition
att.global.linking
corresp
copyOf
next
prev
att.global.source
source
|
||||||||
| Member of | |||||||||
| Contained by |
namesdates: occupation
|
||||||||
| May contain | ANY | ||||||||
| 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.
|
||||||||
| Examples |
<egXML xml:space="preserve"><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 can be used for recording how parts of the example were rendered.</item></list></div></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 can be used for recording how parts of the example were rendered.</item></list></div> <egXML xml:space="preserve" 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><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 xmlns="http://www.tei-c.org/ns/Examples" valid="false"> <para xml:lang="en">Doubloons are a pirate's best friend</para> </egXML> |