TOC PREV NEXT INDEX


EXI to XML Conversion


The rtExiMem2XmlStream function can be used to convert an EXI encoded document as described above back into XML form. This function takes as input an EXI-encoded message that has been read into a memory buffer (a stream-based interface is not available at this time). The output stream can be any of the stream types that can be created with the rtxStreamCreateWriter functions - typically memory, file or socket. This function is used in the exi2xml utility program that is included in the utilites subdirectory of XBinder.

A SAX interface is also available that generates SAX events directly from EXI-encoded data. This interface is described in the rtEXI2SAX.h header file. It allows SAX startElement, characters, and endElement callback functions to be registered which will receive decoded EXI data as the instance is parsed.



Copyright © Objective Systems 2002-2008
This document may be distributed in any form, electronic or otherwise, provided that it is distributed in its entirety and that the copyright and this notice are included.

Objective Systems, Inc.

55 Dowlin Forge Road
Exton, Pennsylvania 19341
http://www.obj-sys.com
Phone: (484) 875-9841
Toll-free: (877) 307-6855 (US only)
Fax: (484) 875-9830
info@obj-sys.com

TOC PREV NEXT INDEX