<datatype>
<datatype> (datatype) specifies the declared value for an attribute, by referring to any datatype defined by the chosen schema language. [1.4.2 Datatype Specifications 22.5.3 Attribute List Specification] | |||||||||||||||||||||
Module | tagdocs — Documentation Elements | ||||||||||||||||||||
Attributes | att.global (@xml:id, @n, @xml:lang, @xml:base, @xml:space) (att.global.rendition (@rend, @style, @rendition)) (att.global.linking (@corresp, @synch, @sameAs, @copyOf, @next, @prev, @exclude, @select)) (att.global.analytic (@ana)) (att.global.facs (@facs)) (att.global.change (@change)) (att.global.responsibility (@cert, @resp)) (att.global.source (@source))
| ||||||||||||||||||||
Contained by | tagdocs: attDef | ||||||||||||||||||||
May contain | ANY | ||||||||||||||||||||
Note | In the TEI scheme, most datatypes are expressed using pre-defined TEI macros, which map a name in the form | ||||||||||||||||||||
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 target attribute of join. <datatype minOccurs="2" maxOccurs="unbounded"> <dataRef key="teidata.pointer"/> </datatype> | ||||||||||||||||||||
Content model | <content> | ||||||||||||||||||||
Schema Declaration | <rng:element name="datatype"> element datatype { att.global.attributes, att.global.rendition.attributes, att.global.linking.attributes, att.global.analytic.attributes, att.global.facs.attributes, att.global.change.attributes, att.global.responsibility.attributes, att.global.source.attributes, attribute minOccurs { teidata.count }?, attribute maxOccurs { teidata.unboundedInt }?, ( dataRef | anyElement-datatype ) } |