Compartilhar via


namespaceURI Property (IXMLDOMNode)

A version of this page is also available for

Windows Embedded CE 6.0 R3

4/8/2010

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

Script Syntax

            strValue = oXMLDOMNode.namespaceURI;

Remarks

Script Parameters

None.

Script Return Value

C/C++ Syntax

HRESULT get_namespaceURI(
  BSTR* namespaceURI
);

Remarks

C/C++ 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 namespaceURI is Null.

Requirements

Header msxml2.h, msxml2.idl
Windows Embedded CE Windows CE .NET 4.0 and later

General 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