Name
xs:NMTOKENS — List of XML 1.0 name token (NMTOKEN).
Derived from:
xs:NMTOKEN
Primary:
none
Known subtypes:
none
Facets:
xs:enumeration, xs:length, xs:maxLength, xs:minLength, xs:whiteSpace
<xs:simpleType name="NMTOKENS" id="NMTOKENS"> <xs:restriction> <xs:simpleType> <xs:list> <xs:simpleType> <xs:restriction base="xs:NMTOKEN"/> </xs:simpleType> </xs:list> </xs:simpleType> <xs:minLength value="1"/> </xs:restriction> </xs:simpleType>
Description
xs:NMTOKENS
is derived by list from
xs: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"
, or
"brought
classical
music
to
the
Peanuts
strip"
(note that, in
this case, the sentence is considered as a list of words).
Invalid values include "brought
classical
music
to
the
"Peanuts"
strip"
(quotes are
forbidden) or "bold,brash"
(commas are forbidden).
Get XML Schema 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.