June 2002
Intermediate to advanced
396 pages
11h 8m
English
xs:Name — XML 1.O names.
xs:token
xs:string
xs:NCName
xs:enumeration, xs:length, xs:maxLength, xs:minLength, xs:pattern, xs:whiteSpace
<xs:simpleType name="Name" id="Name">
<xs:restriction base="xs:token">
<xs:pattern value="\i\c*"/>
</xs:restriction>
</xs:simpleType>The lexical and value spaces of xs:Name are the
tokens (NMTOKEN) that conform to the definition of
a name in XML 1.0.
Following XML 1.0, those names may contain colons
(“:”), but no special meaning is
attached to these characters. Another datatype
(xs:QName) should be used for qualified names when
they use namespaces prefixes.
Valid values include "Snoopy",
"CMS", or "_1950-10-04_10:00".
Invalid values include "0836217462" (a
xs:Name cannot start with a number) or
"bold,brash" (commas are forbidden).