<macroSpec>
<macroSpec> 記錄模式的功能與實行。 | |||||||
組件 | tagdocs — 22 Documentation Elements | ||||||
除全域屬性以外 | att.identified (@ident, @predeclare, @module, @mode)
|
||||||
屬於 | |||||||
可包含 | |||||||
宣告 |
element macroSpec { att.global.attributes, att.identified.attributes, attribute type { "pe" | "dt" }?, ( model.glossLike*, ( stringVal | content )+, 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> |