namespaceURI Property (IXMLDOMNode)

 

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

strValue = oXMLDOMNode.namespaceURI;  

strValue = oXMLDOMNode.namespaceURI  

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.

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).

Implemented in:

MSXML 3.0, MSXML 6.0

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

Show: