PhoenixmlDb.Core

XdmNamespace

Represents a namespace node in the XDM tree, corresponding to an in-scope namespace binding on an element.

#XdmNamespace

Namespace: PhoenixmlDb.Xdm.Nodes

Represents a namespace node in the XDM tree, corresponding to an in-scope namespace binding on an element.

Namespace nodes are rarely accessed directly in application code. They represent the in-scope namespace bindings that the XDM specification requires on each element. In most cases, namespace information is accessed through XdmElement.NamespaceDeclarations or the XdmElement.Namespace property instead.

The XdmNode.NodeName of a namespace node uses the prefix as the local name (with no namespace URI). The XdmNode.StringValue is the namespace URI itself. The default namespace uses an empty string as the XdmNamespace.Prefix.

#Properties

Name Description
Prefix The namespace prefix, or an empty string for the default namespace.
Uri The namespace URI that this prefix is bound to.