June 2002
Intermediate to advanced
396 pages
11h 8m
English
xs:NMTOKEN — XML 1.0 name token (NMTOKEN).
xs:token
xs:string
xs:NMTOKENS
xs:enumeration, xs:length, xs:maxLength, xs:minLength, xs:pattern, xs:whiteSpace
<xs:simpleType name="NMTOKEN" id="NMTOKEN">
<xs:restriction base="xs:token">
<xs:pattern value="\c+"/>
</xs:restriction>
</xs:simpleType>The lexical and value spaces of xs:NMTOKEN are the
set of XML 1.0 “name tokens,” i.e.,
tokens composed of characters, digits,
“.”,
“:”,
“-”, and the characters defined by
Unicode, such as “combining” or
“extender”.
This type is usually called a “token.”
Valid values include "Snoopy",
"CMS", "1950-10-04", or
"0836217462".
Invalid values include "brought
classical
music
to
the
Peanuts
strip" (spaces are
forbidden) or "bold,brash" (commas are forbidden).