XML to EXI serialization functions.
Classes | |
| struct | XML2EXISAXUserData |
Functions | |
| EXTERNEXI int | rtXmlMem2ExiMem (OSCTXT *pctxt, OSOCTET *outbuf, size_t outbufsiz) |
| This function serializes XML data to EXI data and stores the result in the given memory buffer. | |
| EXTERNEXI int | rtXmlFile2ExiStream (const char *xmlFileName, OSCTXT *pExiCtxt) |
| This function serializes XML data from a file to EXI data and outputs the result to the output stream defined within the given output context. | |
| EXTERNEXI int | xml2ExiStartElement (void *userData, const OSUTF8CHAR *localname, const OSUTF8CHAR *qname, const OSUTF8CHAR *const *attrs) |
| SAX start element handler callback function. | |
| EXTERNEXI int | xml2ExiCharacters (void *userData, const OSUTF8CHAR *chars, int length) |
| SAX characters handler callback function definition. | |
| EXTERNEXI int | xml2ExiEndElement (void *userData, const OSUTF8CHAR *localname, const OSUTF8CHAR *qname) |
| SAX end element handler callback function definition. | |
Function Documentation
|
||||||||||||
|
This function serializes XML data from a file to EXI data and outputs the result to the output stream defined within the given output context. The input context structure (pctxt) is assumed to contain an encoded XML message in its internal buffer. This will be the case after encoding an XML instance.
|
|
||||||||||||||||
|
This function serializes XML data to EXI data and stores the result in the given memory buffer. The context structure is assumed to contain an encoded XML message in its internal buffer. This will be the case after encoding an XML instance.
|
|
||||||||||||||||
|
SAX characters handler callback function definition.
|
|
||||||||||||||||
|
SAX end element handler callback function definition.
|
|
||||||||||||||||||||
|
SAX start element handler callback function.
|
