Module xml::namespace [] [src]

Contains namespace manipulation types and functions.

Structs

CheckedTarget

A wrapper around NamespaceStack which implements Extend using put_checked().

Namespace

Namespace is a map from prefixes to namespace URIs.

NamespaceStack

Namespace stack is a sequence of namespaces.

NamespaceStackMappings

An iterator over mappings from prefixes to URIs in a namespace stack.

Constants

NS_EMPTY_URI

Designates an empty namespace URI, which is equivalent to absence of namespace.

NS_NO_PREFIX

Designates the absence of prefix in a qualified name.

NS_XMLNS_PREFIX

Designates prefix for namespace definitions.

NS_XMLNS_URI

Designates the standard URI for xmlns prefix.

NS_XML_PREFIX

Designates prefix for a namespace containing several special predefined attributes.

NS_XML_URI

Designates the standard URI for xml prefix.

Type Definitions

NamespaceMappings

An alias for iterator type for namespace mappings contained in a namespace.

UriMapping

A type alias for a pair of (prefix, uri) values returned by namespace iterators.