Partager via


getQualifiedItem Method (Compact 2013)

3/26/2014

Returns the attribute with the specified namespace and attribute name.

Syntax

var objXMLDOMNode = oXMLDOMNamedNodeMap.getQualifiedItem(baseName, namespaceURI);
HRESULT getQualifiedItem(  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 specified by the baseName and namespaceURI parameters. Returns Null if the attribute is not in the collection or if the item is not an attribute.

Return Value

Script

Object. Returns the attribute node specified by the baseName and namespaceURI parameters. Returns Null if the attribute is not in the collection or if the item is not an attribute.

C/C++

  • S_OK
    Value returned if successful.
  • S_FALSE
    Value when returning Null.
  • E_INVALIDARG
    Value returned if qualifiedItem is Null.

Remarks

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

This method applies to the following interface:

IXMLDOMNamedNodeMap

Requirements

Header

msxml2.h,
msxml2.idl

Library

uuid.lib

See Also

Reference

XML DOM Methods