<alternate>
| <alternate> 子要素らが参照している複数の構造が交換可能であることを示す。 [23.5.1 Defining Content Models] | |
| モジュール | tagdocs — Documentation Elements |
| 属性 |
|
| クラブのメンバー | |
| 上位 | |
| 下位 | |
| 例 |
<content>
<alternate> <elementRef key="name"/> <elementRef key="persName"/> </alternate> </content> This example content model permits either a name or a persName. |
| Schematron |
<sch:rule context="tei:alternate"> <sch:assert test="count(*) gt 1">The alternate element must have at least two child elements</sch:assert> </sch:rule> |
| Content model |
<content> |
| 宣言 |
<rng:element name="alternate"> element alternate { att.global.attributes, att.global.analytic.attributes, att.global.change.attributes, att.global.facs.attributes, att.global.linking.attributes, att.global.rendition.attributes, att.global.responsibility.attributes, att.global.source.attributes, att.repeatable.attributes, ( valList | model.contentPart )+ } |