<datatype>
<datatype> 指明屬性的公開屬性值,參照到任何所選擇的模型語言所定義的資料類型。 1.4.2 Datatype Macros 22.4.5 Attribute List Specification | |||||||||||||
組件 | tagdocs — 22 Documentation Elements | ||||||||||||
屬性 |
| ||||||||||||
屬於 | |||||||||||||
可包含 | 空白元素 | ||||||||||||
宣告 |
element datatype { att.global.attributes, attribute minOccurs { data.count }?, attribute maxOccurs { data.count | "unbounded" }?, macro.schemaPattern* } | ||||||||||||
例子 | <datatype> <rng:data type="token"/> </datatype> | ||||||||||||
例子 | <datatype> <rng:ref name="data.enumerated"/> </datatype> | ||||||||||||
例子 | <datatype minOccurs="2" maxOccurs="unbounded"> <rng:ref name="data.pointer"/> </datatype> |