XmlNamespaceManager Data Type

Version: Available or changed with runtime version 1.0.

Represents a namespace manager that can be used to resolve, add and remove namespaces to a collection. It also provides scope management for these namespaces.

The following methods are available on instances of the XmlNamespaceManager data type.

Method name Description
AddNamespace(Text, Text) Adds the given namespace to the collection.
HasNamespace(Text) Gets a value indicating whether the supplied prefix has a namespace defined for the current scope.
LookupNamespace(Text, var Text) Gets the namespace URI for the specified prefix.
LookupPrefix(Text, var Text) Finds the prefix declared for the given namespace URI.
NameTable([XmlNameTable]) Gets or sets the XmlNameTable associated with this object.
PopScope() Pops a namespace scope off the stack.
PushScope() Pushes a namespace scope onto the stack.
RemoveNamespace(Text, Text) Removes the given namespace for the given prefix.

See Also

Get Started with AL
Developing Extensions