xsd:QName
The type xsd:QName
represents an XML namespace-qualified name. A xsd:QName
value consists of a prefix and a local part, separated by a colon, both of which are
Simple Type Information
Namespace: http://www.w3.org/2001/XMLSchema
Schema Document: builtintypes.xsd
Content
- Based on xsd:anyAtomicType
- White Space: collapse
Examples
Valid values | Comment |
---|---|
pre:myElement | valid assuming the prefix "pre " is mapped to a namespace in scope |
myElement | prefix and colon are optional |
Invalid values | Comment |
:myElement | a QName must not start with a colon |
pre:3rdElement | the local part must not start with a number; it must be a valid |
an empty value is not valid, unless xsi:nil is used |