namespaceURI Property (IXMLDOMNode) (Compact 2013)

3/26/2014

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

Syntax

strValue = oXMLDOMNode.namespaceURI;
HRESULT get_namespaceURI(
  BSTR* namespaceURI
);

Parameters

Script

None.

C/C++

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

Return Value

C/C++

  • S_OK
    Value returned if successful.
  • S_FALSE
    Value returned when there is no namespace.
  • E_INVALIDARG
    Value returned if namespaceURI is Null.

Remarks

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 Worldwide Web Consortium (W3C) Document Object Model (DOM).

This property is read-only, and applies to the following objects and interfaces:

DOMDocument, IXMLDOMAttribute, IXMLDOMCDATASection, IXMLDOMCharacterData, IXMLDOMComment, IXMLDOMDocumentFragment, IXMLDOMDocumentType, IXMLDOMElement, IXMLDOMEntity, IXMLDOMEntityReference, IXMLDOMNode, IXMLDOMNotation, IXMLDOMProcessingInstruction, IXMLDOMText, and IXTLRuntime

Requirements

Header

msxml2.h,
msxml2.idl

See Also

Reference

XML DOM Properties