YedXml - Set_XML_Buffer
SINT Set_XML_Buffer(void *pvO,SCHAR *pscBuffer,SINT siFlagPreserve);
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:
Mantain XML buffer loaded from file exactly as it is, with all escape characters like '\n' and '\t'.
Drop all unnecessary escape characters after loading XML buffer from file.
The method returns YPRSUCCESS in case of correct execution. In case of error, it returns:
Memory unavailable to perform operation.
pscBuffer is invalid. Check its size or content.