XML utility functions.

Functions

EXTERNXML int rtXmlWriteToFile (OSCTXT *pctxt, const char *filename)
 This function writes the encoded XML message stored in the context message buffer out to a file.
EXTERNXML int rtXmlWriteUTF16ToFile (OSCTXT *pctxt, const char *filename)
EXTERNXML void rtXmlTreatWhitespaces (OSCTXT *pctxt, int whiteSpaceType)
EXTERNXML int rtXmlCheckBuffer (OSCTXT *pctxt, OSSIZE byte_count)

Function Documentation

EXTERNXML int rtXmlWriteToFile ( OSCTXT *  pctxt,
const char *  filename 
)

This function writes the encoded XML message stored in the context message buffer out to a file.

Parameters:
pctxt Pointer to OSCTXT structure.
filename Full path to file to which XML is to be written.
Returns:
0 - if success, negative value if error.