<elementSpec>
<elementSpec> 紀錄單一元素類型的結構、內容、以及用途。 [22.4.4 Element Specifications 22 Documentation Elements] | |||||||
組件 | tagdocs — Documentation Elements | ||||||
屬性 | att.global (@xml:id, @n, @xml:lang, @rend, @style, @rendition, @xml:base, @xml:space) (att.global.linking (@corresp, @synch, @sameAs, @copyOf, @next, @prev, @exclude, @select)) (att.global.analytic (@ana)) (att.global.facs (@facs)) (att.global.change (@change)) att.identified (@ident, @predeclare, @module, @status) (att.combinable (@mode) (att.deprecated (@validUntil)) ) att.namespaceable (@ns)
| ||||||
俱乐部会员 | |||||||
可包含在於 | core: add 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 source support surrogates spoken: writing tagdocs: schemaSpec specGrp textstructure: argument body div div1 div2 div3 div4 div5 div6 div7 docEdition epigraph imprimatur postscript signed titlePart verse: rhyme | ||||||
可包含 | |||||||
宣告 |
element elementSpec { att.global.attributes, att.global.linking.attributes, att.global.analytic.attributes, att.global.facs.attributes, att.global.change.attributes, att.identified.attributes, att.combinable.attributes, att.deprecated.attributes, att.namespaceable.attributes, attribute prefix { "" | data.name }?, ( ( model.glossLike | model.descLike )*, classes?, content?, valList?, constraintSpec*, attList?, exemplum*, remarks*, listRef* ) } | ||||||
例子 | <elementSpec module="tagdocs" ident="code"> <equiv/> <gloss/> <desc>包含文字規則</desc> <classes> <memberOf key="model.emphLike"/> </classes> <content> <rng:text/> </content> <attList> <attDef ident="type" usage="opt"> <equiv/> <desc>規則的表達方式</desc> <datatype> <rng:ref name="data.enumerated"/> </datatype> </attDef> </attList> </elementSpec> |