Name

xs:NMTOKEN

Facets

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

The xs:NMTOKEN type corresponds to the XML 1.0 DTDs NMTOKEN attribute type. Its values may contain character strings that are legal XML 1.0 name tokens, 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, 3412_32, 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.