namespaceURI Property (IXMLDOMNode)

 

Returns the Uniform Resource Identifier (URI) for the namespace.

Script Syntax

strValue = oXMLDOMNode.namespaceURI;  

Visual Basic Syntax

strValue = oXMLDOMNode.namespaceURI  

C/C++ Syntax

HRESULT get_namespaceURI(  
    BSTR *namespaceURI);  

Parameters

namespaceURI[out, retval]
URI for the namespace. This refers to the "uuu" portion of the namespace declaration xmlns:nnn="uuu".

C/C++ Return Values

S_OK
Value returned if successful.

S_FALSE
Value returned when there is no namespace.

E_INVALIDARG
Value returned if the namespaceURI parameter is Null.

Remarks

String. The property is read-only. Returns the URI for the namespace. This refers to the "uuu" portion of the namespace declaration xmlns:nnn="uuu".

This member is an extension of the World Wide Web Consortium (W3C) Document Object Model (DOM).

Versioning

Implemented in:

MSXML 3.0, MSXML 6.0

Applies to

IXMLDOMAttribute | IXMLDOMCDATASection | IXMLDOMCharacterData | IXMLDOMComment | IXMLDOMDocument-DOMDocument | IXMLDOMDocumentFragment | IXMLDOMDocumentType | IXMLDOMElement | IXMLDOMEntity | IXMLDOMEntityReference | IXMLDOMNode | IXMLDOMNotation | IXMLDOMProcessingInstruction | IXMLDOMText