Important:
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.
A version of this page is also available for
4/8/2010

Removes the attribute with the specified namespace and attribute name.

Script Syntax

Copy Code
var 
objXMLDOMNode = oXMLDOMNamedNodeMap.removeQualifiedItem(
baseName, 
namespaceURI);

Remarks

Script Parameters

baseName

String specifying the base name of the attribute, without namespace qualification.

namespaceURI

String specifying the namespace prefix that qualifies the attribute name.

Script Return Value

Object. Returns the attribute node removed, or Null if no node was removed.

C/C++ Syntax

Copy Code
HRESULT removeQualifiedItem(
  BSTR 
baseName,
  BSTR 
namespaceURI,
  IXMLDOMNode** 
qualifiedItem
);

Remarks

C/C++ Parameters

baseName

[in] Base name of the attribute, without namespace qualification.

namespaceURI

[in] Namespace prefix that qualifies the attribute name.

qualifiedItem

[out, retval] Attribute node removed, or Null if no node was removed.

C/C++ Return Values

S_OK

Value returned if successful.

S_FALSE

Value when returning Null.

E_FAIL

Value returned if an error occurs.

Requirements

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

General Remarks

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

This method applies to the following objects and interfaces:

IXMLDOMNamedNodeMap.