Schema Central > XML Schema 1.1 > xsd:Name
Advanced search
Need XML Help?

Recommended Reading:

Definitive XML Schema


Web Service Contract Design and Versioning for SOA


Advanced XML Applications



The type xsd:Name represents an XML name, which can be used as an element-type name or attribute name, among other things. Specifically, this means that values must start with a letter, underscore(_), or colon (:), and may contain only letters, digits, underscores (_), colons (:), hyphens (-), and periods (.). Colons should only be used to separate namespace prefixes from local names.

Simple Type Information


Schema Document: builtintypes.xsd



Valid valuesComment
pre:myelement3this is recommended only if pre is a namespace prefix; otherwise, colons should not be used
Invalid valuesComment
-myelementa Name must not start with a hyphen
3rdElementa Name must not start with a number
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