Although XML Schema support in Internet Explorer 5 allows data types to be specified within attributes, only the following data types are supported within attributes by the parser and DOM: string, id, idref, idrefs, nmtoken, nmtokens, entity, entities, enumeration, notation, maxLength, and minLength.
In the following schema, the shipTo attribute has a data type of "idref."
<AttributeType name="shipTo" dt:type="idref"/> <attribute type="shipTo"/>
An attribute whose data type is "idref" holds an identifying value in the document instance, a value that does not appear on any other idref attribute in the document.
An attribute of type "id" acts as a reference to the element with the matching id value. The data type "idrefs" is similar to "id," but it holds a list of ids, separated by spaces. For example,
<PurchaseOrder items="Item-1 Item-2">