Table of Contents

Property NamespaceURI

Namespace
SharpVectors.Dom
Assembly
SharpVectors.Core.dll

NamespaceURI

string NamespaceURI { get; }

Property Value

string

The namespace URI of this node. If there is no namespace URI, this property returns Empty.

Remarks

This is not a computed value that is the result of a namespace lookup based on an examination of the namespace declarations in scope. It is merely the namespace URI given at creation time.

For nodes of any type other than Element and Attribute and nodes created with a DOM Level 1 method, such as CreateElement(string) from the IDocument interface, this is always null. Per the Namespaces in XML Specification an attribute does not inherit its namespace from the element it is attached to. If an attribute is not explicitly given a namespace, it simply has no namespace.