<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.1.1 Phrase Level Terms] | |||||||||
Namensraum | http://www.tei-c.org/ns/Examples | ||||||||
Modul | tagdocs — Documentation Elements | ||||||||
Attribute | att.global (@xml:id, @n, @xml:lang, @xml:base, @xml:space) (att.global.rendition (@rend, @style, @rendition)) (att.global.linking (@corresp, @synch, @sameAs, @copyOf, @next, @prev, @exclude, @select)) (att.global.analytic (@ana)) (att.global.facs (@facs)) (att.global.change (@change)) (att.global.responsibility (@cert, @resp)) att.source (@source)
| ||||||||
Mitglied des | |||||||||
Enthalten in | core: add cit corr del desc emph head hi item l meeting note orig p q quote ref reg said sic stage title unclear dictionaries: case colloc def dictScrap entryFree etym form gen gram gramGrp hyph iType lang lbl mood number orth per pos pron stress subc syll tns usg xr msdescription: accMat acquisition additions collation condition custEvent decoNote filiation foliation layout musicNotation origin provenance signatures source summary support surrogates spoken: writing tagdocs: exemplum textstructure: argument body div div1 div2 div3 div4 div5 div6 div7 docEdition epigraph imprimatur postscript salute signed titlePart trailer verse: rhyme | ||||||||
Kann enthalten | ANY | ||||||||
Deklaration |
element egXML { 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.source.attributes, attribute valid { text }?, ( text | macro.anyXML )* } | ||||||||
Beispiel | <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> | ||||||||
Beispiel | <egXML valid="feasible"><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> | ||||||||
Beispiel |
<egXML xmlns="http://www.tei-c.org/ns/Examples" valid="false">
<para xml:lang="en">Doubloons are a pirate's best friend</para>
</egXML>
|