Name

xs:Name

Facets

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

The xs:Name type contains character strings that are legal XML 1.0 names, starting with a letter and otherwise consisting of letters, digits, ideographic characters, underscores, hyphens, periods, and colons. (XML 1.1 supports a wider range of characters in names, but XML Schema 1.0 supports the XML 1.0 rules.) Legal values include h1223, myName, my_Name:12, silliness, money-owed, and this.idea.

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.