<egXML> [http://www.tei-c.org/ns/Examples]
<egXML> (XML의 예) 어떤 XML 요소 또는 속성의 사용을 나타내는 정형의 단일 XML 예를 포함하며, egXML는 뿌리(최상위) 요소로 기능한다. [22.1.1 Phrase Level Terms] | |||||||||
Namespace | http://www.tei-c.org/ns/Examples | ||||||||
모듈 | tagdocs — Documentation Elements | ||||||||
속성 | 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.global.source (@source))
|
||||||||
클럽 회원 | |||||||||
에 의해 포함된 |
core: add cit corr del desc emph head hi item l meeting note orig p q quote ref reg said sic stage textLang 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 typeNote
namesdates: occupation
tagdocs: exemplum
textstructure: argument body div div1 div2 div3 div4 div5 div6 div7 docEdition epigraph imprimatur postscript salute signed titlePart trailer
verse: rhyme
|
||||||||
포함할 수 있다 | ANY | ||||||||
주석 |
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. |
||||||||
예 |
<egXML xmlns="http://www.tei-c.org/ns/Examples"><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> |
||||||||
예 |
<egXML valid="feasible" source="#UND" xmlns="http://www.tei-c.org/ns/Examples"><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> |
||||||||
예 | |||||||||
Content model |
<content> |
||||||||
선언 |
<rng:element name="egXML"> 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.global.source.attributes, attribute valid { "true" | "feasible" | "false" }?, ( text | anyElement-egXML )* } |