reference:plugins:plugin_sdk:xml_functions:xmlgetnodeattribute

XMLGetNodeAttribute(
     HANDLE:hNodeHandle,
     LPTSTR:pszAttrName,
     LPTSTR:pszAttrValue,
     LPINT:pcchMax
)
→ BOOL

Arguments

hNodeHandle

[in] The handle to the node.

pszAttrName

[in] The name of the attribute.

pszAttrValue

[out] Buffer that receives the attribute's value, or NULL if the value is not required.

pcchMax

[in,out] If pszAttrValue is non-NULL this must point to a variable that contains the maximum size of the buffer in characters. If pszAttrValue is NULL this must point to a variable that will receive the size of the attribute in characters, including the null terminator.

Return value

Returns TRUE on success or FALSE on failure.

Description

The XMLGetNodeAttribute function returns a named attribute of a node as a string.