Schema Central > XML Schema 1.0 > xsd:NMTOKEN
Advanced search
Need XML Help?

Recommended Reading:

Definitive XML Schema


Web Service Contract Design and Versioning for SOA


Advanced XML Applications



The type xsd:NMTOKEN represents a single string token. xsd:NMTOKEN values may consist of letters, digits, periods (.), hyphens (-), underscores (_), and colons (:). They may start with any of these characters. xsd:NMTOKEN has a whiteSpace facet value of collapse, so any leading or trailing whitespace will be removed. However, no whitespace may appear within the value itself.

Simple Type Information


Schema Document: datatypes.xsd



Valid valuesComment
  starts_with_a_spacewhen parsed, leading spaces will be removed
Invalid valuesComment
contains a spacevalue must not contain a space
an empty value is not valid, unless xsi:nil is used

Type Inheritance Chain

Site developed and hosted by Datypic, Inc.

Please report errors or comments about this site to