QName data type
The xs:QName data type represents an XML qualified name (QName). A QName includes an optional namespace prefix, a URI that identifies the XML namespace, and a local part, which is an NCName. Derived from data type xdt:anyAtomicType.
The lexical form of The xs:QName data type is a string
of the following format: prefix:localName.
The following abbreviations are used to describe this form:
- prefix
- Optional. A namespace prefix. The namespace prefix must be bound to a URI reference by a namespace declaration. The prefix functions only as a placeholder for a namespace name. If no prefix is specified, the URI for the default element/type namespace is used.
- localName
- An NCName that is the local part of the qualified name. An NCName is an XML name without a colon.
For example, the following string is a valid
lexical form of a QName that includes a prefix:
ns1:emp