YedXml - Set_XML_Buffer

NAME:
Set_XML_Buffer

SYNOPSIS:
SINT Set_XML_Buffer(void *pvO,SCHAR *pscBuffer,SINT siFlagPreserve);

DESCRIPTION:
The method directly loads pscBuffer into XML internal buffer area of the object instance pointed to pvO. The XML buffer loaded into memory will be used in any subsequent operation performed by object instance. siFlagPreserve allows user to handle content of XML buffer in this way:

XML_PRESERVE
Mantain XML buffer loaded from file exactly as it is, with all escape characters like '\n' and '\t'.

XML_NOTPRESERVE
Drop all unnecessary escape characters after loading XML buffer from file.

 

RETURN VALUE:
The method returns YPRSUCCESS in case of correct execution. In case of error, it returns:

YPRNOMEM
Memory unavailable to perform operation.

YPRINVALIDPARAM
pscBuffer is invalid. Check its size or content.


http://yed.sourceforge.net