getQualifiedItem Method
A version of this page is also available for
4/8/2010
Returns the attribute with the specified namespace and attribute name.
Script Syntax
var objXMLDOMNode = oXMLDOMNamedNodeMap.getQualifiedItem(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 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++ Syntax
HRESULT getQualifiedItem(
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 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++ Return Values
- S_OK
Value returned if successful.
- S_FALSE
Value when returning Null.
- E_INVALIDARG
Value returned if qualifiedItem is Null.
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 Worldwide Web Consortium (W3C) Document Object Model (DOM).
This method applies to the following interface: