Name
xsd:NMTOKENS — List of XML 1.0 name tokens (NMTOKEN)
Synopsis
<xsd:simpleType name="NMTOKENS” id="NMTOKENS"> <xsd:restriction> <xsd:simpleType> <xsd:list> <xsd:simpleType> <xsd:restriction base="xsd:NMTOKEN"/> </xsd:simpleType> </xsd:list> </xsd:simpleType> <xsd:minLength value="1"/> </xsd:restriction> </xsd:simpleType>
Derived from
xsd:NMTOKEN
Primary
None
Known subtypes
None
Data parameters (facets)
enumeration, length,
maxLength, minLength
Description
xsd:NMTOKENS is derived by list from
xsd:NMTOKEN and represents whitespace-separated
lists of XML 1.0 name tokens.
Restrictions
None
Example
Valid values include Snoopy,
CMS, 1950-10-04,
0836217462 0836217463, and
brought
classical
music
to
the
Peanuts
strip (note that, in
this case, the sentence is considered to be list of words).
Invalid values include "brought
classical
music
to
the
Peanuts" "strip" (quotes are
forbidden) and bold,brash (commas are forbidden).
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access