<datatype>
<datatype> specifies the declared value for an attribute, by referring to any datatype defined by the chosen schema language. 1.4.2 Datatype Macros 22.4.5 Attribute List Specification | |||||||||||||
Modul | tagdocs — 22 Documentation Elements | ||||||||||||
Attribute |
| ||||||||||||
Verwendet von | |||||||||||||
Kann enthalten | Leeres Element | ||||||||||||
Deklaration |
element datatype { att.global.attributes, attribute minOccurs { data.count }?, attribute maxOccurs { data.count | "unbounded" }?, macro.schemaPattern* } | ||||||||||||
Beispiel | <datatype> <rng:data type="token"/> </datatype> | ||||||||||||
Beispiel | <datatype> <rng:ref name="data.enumerated"/> </datatype> | ||||||||||||
Beispiel | The encoding in the following example requires that the attribute being defined contain at least two URIs in its value, as is the case for the targets attribute of join. <datatype minOccurs="2" maxOccurs="unbounded"> <rng:ref name="data.pointer"/> </datatype> |