Name

xs:IDREF

Facets

xs:enumeration, xs:length, xs:maxLength, xs:minLength, xs:pattern, xs:whiteSpace

The xs:ID type provides compatibility with the IDREF attribute type from XML 1.0 DTDs. Like those IDREFs, the contents of the xs:IDREF type must start with a letter and contain letters, digits, underscores, or colons, and the value must match an xs:ID value elsewhere in the document.

Get XML Pocket Reference, 3rd Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.