Trivial

Trivial is a small C++ program that takes .xsd files (with xs: headers), and creates C++ classes with read() and write() functions, so that you can read and write .xml files without having to write any code yourself. The resulting code validates the .xml. As an extra, you can also combine several .xsd files into one classes-structure, with automatic deletion of identical classes, and more.

You can find more documentation, including the overview of accepted tags (!), inside the TrivialGenerator.h file.

TrivialStack is the small and stupid parser combinator kit that is used inside Trivial. There's some text inside the TrivialStack file about it, and the files inside the "TrivialStack (was TurkParser) doc" folder are also documentation.

There are no known bugs at this moment. Trivial generates code that reads .xml with ± 4 MB/sec.

You can download Trivial0.05.zip (56kb, June 2005). Note that you must use a decent title in your e-mail if you want me to read your e-mail (you can find the e-mailaddress itsself inside the .zip).
Niels Gorisse