Contents
Update News
Overview
Downloads
In The News
June 1, 2006
I did a major refactoring of ZeptoXML. It is now fully thread safe, it will automatically eliminate unneeded intermediate data, and the API has been simplified. I have also fixed a minor bug.
May 28, 2006
Added support for escape sequences inside attribute values. I figured this was needed to be able to input and output any string in the attributes. In other news, I plan to use ZeptoXML in a chat protocol implementation.
May 24, 2006
I made a minor update to the ZeptoXML source code to allow the parsing of XML code "in memory", so that it can be received over networks and such. I also made it possible to generate "streamlined" (non indented) XML streams from XML tag hierarchies, suitable for transmission over a network.
May 23, 2006
The ZeptoXML source code is now available for download and for use under a very liberal license. Next thing for me to do will be to make some basic documentation, although things should be very easy to figure out from the source code.
May 22, 2006
Just putting a placeholder page in place. I may release ZeptoXML this week, with some actual output support in addition to input.
Overview
Description
ZeptoXML is a minimalist XML parser following the DOM model which I created for my COMP-400 project course at McGill University (while creating the Radiant Renderer). It features only two code files, no dependencies, and fully standard-compliant, fully portable C++ code.
Advantages and Limitations
This parser is very fast and very simple to use. Everything has been done to make the parser extremely easy to use by avoiding unnecessary complexity and redundancy. The main limitation of this parser, however, is that it cannot handle files that cannot be entirely stored in the main memory of the computer on which it runs.
Purposes
ZeptoXML can be useful for storing data files of all sorts. As long as the files do not exceed a hundred megabytes or so, using ZeptoXML should be very efficient and practical. Another very practical use is to use ZeptoXML to store configuration files for your application.
Downloads
Click on the link below to download the ZeptoXML source code:
zeptoxml_source.zip (20 KB)