- From: Paul Serice <paul@serice.net>
- Date: Mon, 31 Oct 2016 07:17:43 -0500
- To: public-microxml@w3.org
I've written a pull parser for MicroXML in C with C++ bindings. It is designed to be correct, robust, efficient, and portable. It is part of a larger algorithms library called "cgul": http://www.serice.net/cgul/ The source is in the following files: include/cgul_microxml.h src/cgul_microxml_p.h src/cgul_microxml.c There is a first pass at C++ bindings in the following file but some of the C-style objects currently bleed through. (I will continue to improve this as time permits): include/cgul_microxml_cxx.h Sample code can be found in the following files: tests/main_microxml.c tests/main_microxml_cxx.cc tests/main_microxml_multiroot.c The sample code needs to exercise a lot of initial options so it opens the MicroXML file using cgul_microxml__new_from_stream_reader(), but the easiest way it to get started is to use one of the following methods: cgul_microxml__new_from_fname() cgul_microxml__new_from_file() cgul_microxml__new_from_memory() Thank You, Paul Serice
Received on Wednesday, 2 November 2016 12:45:37 UTC