by Eric van der Vlist is published by O'Reilly & Associates (ISBN: 0596004214)


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).


This text is released under the Free Software Foundation GFDL.