RELAX NG by Eric van der Vlist will be published by O'Reilly & Associates (ISBN: 0596004214)

You are welcome to use our annotation system to give your feedback.


Name

xsd:NMTOKEN — XML 1.0 name token (NMTOKEN).

Derived from:

xsd:token

Primary:

xsd:string

Known subtypes:

xsd:NMTOKENS

Data parameters (facets):

enumeration, length, maxLength, minLength, pattern.

Synopsis

<xsd:simpleType name="NMTOKEN" id="NMTOKEN">
  <xsd:restriction base="xsd:token">
    <xsd:pattern value="\c+"/>
  </xsd:restriction>
</xsd:simpleType>

Description

The lexical and value spaces of xsd:NMTOKEN are the set of XML 1.0 "name tokens," tokens composed of characters, digits, ".", ":", "-", and the characters defined by Unicode, such as "combining" or "extender".

Restrictions

This type is usually called a "token."

Example

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


You are welcome to use our annotation system to give your feedback.
[Annotations for this page]
All text is copyright Eric van der Vlist, Dyomedea. During development, I give permission for non-commercial copying for educational and review purposes. After publication, all text will be released under the Free Software Foundation GFDL.