<content>
<content> 当該スキーマの宣言を示す. [22.4.4 Element Specifications] | |||||||||||||||
モジュール | 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))
| ||||||||||||||
クラブのメンバー | |||||||||||||||
上位 | tagdocs: elementSpec macroSpec moduleRef | ||||||||||||||
下位 | ANY | ||||||||||||||
宣言 |
element content { att.global.attributes, att.global.linking.attributes, att.global.analytic.attributes, att.global.facs.attributes, att.global.change.attributes, attribute allowText { data.truthValue }?, attribute autoPrefix { "true" | "false" }?, ( ( valList ) | macro.anyXML+ | model.contentPart* ) } | ||||||||||||||
例 | This content model allows either a sequence of paragraphs or a series of msItem elements optionally preceded by a summary: <content> <alternate> <classRef key="model.pLike" maxOccurs="unbounded"/> <sequence> <elementRef key="summary" minOccurs="0" maxOccurs="1"/> <elementRef key="msItem" maxOccurs="unbounded"/> </sequence> </alternate> </content> | ||||||||||||||
例 | This content model allows either a sequence of paragraphs or a series of msItem elements optionally preceded by a summary: <content> <rng:choice> <rng:oneOrMore> <rng:ref name="model.pLike"/> </rng:oneOrMore> <rng:group> <rng:optional> <rng:ref name="summary"/> </rng:optional> <rng:oneOrMore> <rng:ref name="msItem"/> </rng:oneOrMore> </rng:group> </rng:choice> </content> | ||||||||||||||
解説 | 上例のように,P5の内容モデルはRELAX NGで表現されている.より厳密に 言えば,P5の内容モデルは |