<datatype> 指明屬性的公開屬性值,參照到任何所選擇的模型語言所定義的資料類型。 1.4.2 Datatype Macros 22.4.5 Attribute List Specification |
組件 | 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))
minOccurs | (出現次數最小值) 指出該資料類型在所定義的屬性說明中可能出現的最少次數
。 |
maxOccurs | (出現次數最大值) 指出該資料類型在所定義的屬性說明中可能出現的最多次數。狀態 | 非必備的 |
資料類型 | <rng:choice> <rng:ref name="data.count"/> <rng:value>unbounded</rng:value> </rng:choice>
data.count | "unbounded" |
|
|
屬於 | |
可包含在於 | |
可包含 | 空白元素 |
宣告 | |
例子 |
<datatype> <rng:data type="token"/></datatype>
|
例子 |
<datatype minOccurs="2" maxOccurs="unbounded"> <rng:ref name="data.pointer"/></datatype>
|
例子 |
<datatype> <rng:ref name="data.enumerated"/></datatype>
|