xs:NMTOKEN
An xs:NMTOKEN
is the schema equivalent of the DTD NMTOKEN
attribute type. It is a subtype
of xs:token
that is restricted
to legal XML 1.0 name tokens. These are the same as XML 1.0 names
except that there are no restrictions on what characters may be
used to start the name token. XML 1.1 names are only allowed if
they are also XML 1.0 names. In other words, the value must
consist of one or more letters, digits, ideographs, and the
underscore, hyphen, period, and colon. These are all legal values
of type xs:NMTOKEN
:
127
-128
Limit
integration
svg:rect
πυ ρ γ ο δ α ι κ τ ο ς
乿
Constraining facets that apply to xs:NMTOKEN
are length
, minLength
, maxLength
, pattern
, enumeration
, and whiteSpace
.