<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] | |||||||||||||
Module | tagdocs — 22 Documentation Elements | ||||||||||||
Attributes | 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)) (att.global.change (@change))
| ||||||||||||
Used by | |||||||||||||
Contained by | tagdocs: attDef | ||||||||||||
May contain | Empty element | ||||||||||||
Declaration |
element datatype { att.global.attributes, att.global.linking.attributes, att.global.analytic.attributes, att.global.facs.attributes, att.global.change.attributes, attribute minOccurs { data.count }?, attribute maxOccurs { data.count | "unbounded" }?, macro.schemaPattern* } | ||||||||||||
Example | |||||||||||||
Example | |||||||||||||
Example |
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. | ||||||||||||
Note |
In the TEI scheme, most datatypes are expressed using
pre-defined TEI macros, which map a name in the form
data.xxxx to a RelaxNG or WSD defined datatype. |