Compartilhar via


removeQualifiedItem Method (Compact 2013)

3/26/2014

Removes the attribute with the specified namespace and attribute name.

Syntax

var objXMLDOMNode = oXMLDOMNamedNodeMap.removeQualifiedItem(baseName, namespaceURI);
HRESULT removeQualifiedItem(
  BSTR baseName,
  BSTR namespaceURI,
  IXMLDOMNode** qualifiedItem
);

Parameters

Script

  • baseName
    String specifying the base name of the attribute, without namespace qualification.
  • namespaceURI
    String specifying the namespace prefix that qualifies the attribute name.

C/C++

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

Return Value

Script

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

C/C++

  • S_OK
    Value returned if successful.
  • S_FALSE
    Value when returning Null.
  • E_FAIL
    Value returned if an error occurs.

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.

Requirements

Header

msxml2.h,
msxml2.idl

Library

uuid.lib

See Also

Reference

XML DOM Methods