3.4. Qualified Names and QNames

The XML Recommendation defines a name as a character string that has certain restrictions as to what characters it may contain. An XML document that conforms to the Namespace Recommendation may include “qualified names.” Elements, attributes, and entities are some of the XML document components that are required to have a name.

A qualified name has additional namespace information and is composed of three parts and may contain one colon. If there is a colon, the character string preceding it is the optional prefix. If there is no colon, the prefix is an empty string. The local part is what follows the colon. A qualified name also has a namespace URI that identifies the namespace. You do not see the namespace URI ...

Get XML Schema Complete Reference, The 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.