Name
xs:ID
Facets
xs:enumeration ,
xs:length , xs:maxLength , xs:minLength , xs:pattern , xs:whiteSpace |
The xs:ID
type provides
compatibility with the ID attribute type from XML 1.0 DTDs. Like
those IDs, the contents of the xs:ID
type must start with a letter and
contain letters, digits, underscores, or colons, and the value
must be unique within the document. (If you need more
sophisticated tests of uniqueness, use the xs:key
, xs:keyref
, and xs:unique
structures.)
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.