Share via


ISAXAttributes::getValueFromQName Method (Compact 2013)

3/26/2014

This method finds the attribute by XML 1.0 qualified name and returns the attribute's text value.

Syntax

HRESULT getValueFromQName(
  const wchar_t* pwchQName, 
  int cchQName, 
  const wchar_t** pwchValue,
  int* pcchValue
);

Parameters

  • pwchQName
    [in] Pointer to the XML 1.0 qualified name.
  • cchQName
    [in] Length of the qualified name string.
  • pwchValue
    [out] Pointer to the string value of the qualified name.
  • pcchValue
    [out] Pointer to the length of the qualified name.

Return Value

  • S_OK
    Returned if the text value is returned successfully.
  • E_INVALIDARG
    Returned for an invalid index or if no matching attribute is found.
  • E_FAIL
    Returned if an internal error occurs.

Requirements

Header

msxml2.h,
msxml2.idl

Library

uuid.lib

See Also

Reference

ISAXAttributes
ISAXAttributes::getLength Method