YedXml - Get_Element_Attribute

NAME:
Get_Element_Attribute

SYNOPSIS:
SINT Get_Element_Attribute(void *pvO, XML_ELEMENT *pElement,SCHAR *pscName,
                           SCHAR *pscValue,SINT siLenBufferValue);

DESCRIPTION:
The method gets value of attribute with name pscName from XML element pointed to pElement into object instance pvO. The attribute value is returned into pscValue buffer, having size siLenBufferValue.

RETURN VALUE:
The method returns YPRSUCCESS if the attribute value has been correctly read. In case of error, it returns:

YPRLENINVALID
Attribute value size is greater than siLenBufferValue.

YPRATTRNOTFOUND
Attribute name does not exist into XML element.


http://yed.sourceforge.net