<datatype>

<datatype> [1.4.2 Datatype Macros 22.4.5 Attribute List Specification]
Modultagdocs — Documentation Elements
Attributeatt.global (@xml:id, @n, @xml:lang, @rend, @style, @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))
minOccurs
Zustand Optional
Datentyp

<rng:ref name="data.count"/>
data.count
Vorgabe 1
maxOccurs
Zustand Optional
Datentyp

<rng:choice>
 <rng:ref name="data.count"/>
 <rng:value>unbounded</rng:value>
</rng:choice>
data.count | "unbounded"
Vorgabe 1
Mitglied des
Enthalten in
tagdocs: attDef
Kann enthaltenLeeres Element
Deklaration

<rng:element name="datatype">
 <rng:ref name="att.global.attributes"/>
 <rng:ref name="att.global.linking.attributes"/>
 <rng:ref name="att.global.analytic.attributes"/>
 <rng:ref name="att.global.facs.attributes"/>
 <rng:ref name="att.global.change.attributes"/>
 <rng:optional>
  <rng:attribute name="minOccursa:defaultValue="1">
   <rng:ref name="data.count"/>
  </rng:attribute>
 </rng:optional>
 <rng:optional>
  <rng:attribute name="maxOccursa:defaultValue="1">
   <rng:choice>
    <rng:ref name="data.count"/>
    <rng:value>unbounded</rng:value>
   </rng:choice>
  </rng:attribute>
 </rng:optional>
 <rng:zeroOrMore>
  <rng:group>
   <rng:ref name="macro.schemaPattern"/>
  </rng:group>
 </rng:zeroOrMore>
</rng:element>
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*
}
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="2maxOccurs="unbounded">
 <rng:ref name="data.pointer"/>
</datatype>