Expat non validating xml parser
For example: ruby --with-perl-enc-map=/usr/local/lib/XML/Parser/Encodings make make site-install - Usage If you do not link this module with Ruby statically, require "xml/parser" before using. One is to define instance methods as event handlers, another is to use iterator. --with-expat-lib=/path/to/expat/lib --with-expat-include=/path/to/expat/inclide If you want to use encoding maps of XML:: Parser of Perl, set the proper directory with --with-perl-enc-map option.Only a single parser is tested for Perl and Python, but two parsers each are tested for C and Java.All of these parsers run under Linux, and all are stream-oriented. If you use event handlers, inherit XMLParser class and define instance methods as event handlers. To define event handlers is like SAX (Simple API for XML).xmlwf is a non-validating parser -- it does not check the DTD.However, it does support external entities (see the -x option).
Also, since I'm more experienced in Perl and C than Java and Python, gurus of those two languages may want to comb through the implementations written in them, checking for newbie mistakes.
You can select different output formats using -c and -m.