Name

xs:QName

Facets

xs:enumeration, xs:length, xs:maxLength, xs:minLength, xs:pattern, xs:whiteSpace

The xs:QName type is designed to hold namespace-qualified names as defined in Namespaces in XML. It uses the same set of characters as xs:Name, but its value (which may or may not contain a prefix and a colon) is treated as if it were an element name in the current context of the document where it appears; effectively, the default namespace declaration is used if no prefix is included. The schema processor will report both the namespace URI and the local name to the receiving application.

Get XML Pocket Reference, 3rd Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.