Specifies the data type for the ElementType or AttributeType element.
<datatype dt:type="datatype">
<ElementType name="colors"> <datatype dt:type="char"/> </ElementType>
Number of occurrences | 1 |
Parent elements | AttributeType, ElementType |
Child elements | (No child elements) |
Requires closing tag | Yes. XML Schema is an XML grammar, and like all XML grammars, all tags must have closing tags to satisfy the definition of well-formed. |
The datatype functionality is an extension offered by XML Schema that cannot be specified using the DTD syntax.