Stylus Studio XML Editor

Table of contents

Appendices

4 Qualified Names

Qualified Names

In XML documents conforming to this specification, some names (constructs corresponding to the nonterminal Name) MUST be given as [qualified names] , defined as follows:

Qualified Name
[7]   QName   ::=    [PrefixedName]
| [UnprefixedName]
[8]   PrefixedName   ::=    [Prefix] ':' [LocalPart]
[9]   UnprefixedName   ::=    [LocalPart]
[10]   Prefix   ::=    [NCName]
[11]   LocalPart   ::=    [NCName]

The [Prefix] provides the [namespace prefix] part of the qualified name, and MUST be associated with a namespace IRI reference in a [namespace declaration] . The [LocalPart] provides the local part of the qualified name.

Note that the prefix functions only as a placeholder for a namespace name. Applications SHOULD use the namespace name, not the prefix, in constructing names whose scope extends beyond the containing document.