1999-01-14
Namespaces in XML
http://www.w3.org/TR/1999/REC-xml-names-19990114
Bray
Tim
Hollander
Dave
Layman
Andrew
XML namespace
An XML namespace is a collection of names, identified by a URI reference , which are used in XML documents as element types and attribute names.
identical
URI references which identify namespaces are considered identical when they are exactly the same character-for-character.
declared
A namespace is declared using a family of reserved attributes. Such an attribute's name must either be xmlns or have xmlns: as a prefix. These attributes, like any other XML attributes, may be provided directly or by default.
namespace name
The attribute's value, a URI reference, is the namespace name identifying the namespace.
namespace prefix
If the attribute name matches PrefixedAttName, then the NCName gives the namespace prefix, used to associate element and attribute names with the namespace name in the attribute value in the scope of the element to which the declaration is attached.
default namespace
If the attribute name matches DefaultAttName, then the namespace name in the attribute value is that of the default namespace in the scope of the element to which the declaration is attached.
qualified names
In XML documents conforming to this specification, some names (constructs corresponding to the nonterminal Name) may be given as qualified names, defined as follows: Qualified NameQName (Prefix ':')? LocalPartPrefixNCNameLocalPartNCName
local part
The LocalPart provides the local part of the qualified name.