<macroSpec>
<macroSpec> 記錄模式的功能與實行。 | |||||||
組件 | tagdocs — 22 Documentation Elements | ||||||
屬性 | att.global (@xml:id, @n, @xml:lang, @rend, @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.identified (@ident, @predeclare, @module, @status) (att.combinable (@mode))
| ||||||
屬於 | |||||||
可包含在於 | 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 titlePart verse: rhyme | ||||||
可包含 | |||||||
宣告 |
element macroSpec { att.global.attributes, att.global.linking.attributes, att.global.analytic.attributes, att.global.facs.attributes, att.identified.attributes, att.combinable.attributes, attribute type { "pe" | "dt" }?, ( model.glossLike*, ( stringVal | content | valList )*, constraintSpec*, exemplum*, remarks*, listRef* ) } | ||||||
例子 |
<macroSpec module="tei" type="pe" ident="macro.phraseSeq">
<content> <rng:zeroOrMore> <rng:choice> <rng:text/> <rng:ref name="model.gLike"/> <rng:ref name="model.phrase"/> <rng:ref name="model.global"/> </rng:choice> </rng:zeroOrMore> </content> </macroSpec> |