--- Jim Menard <jimm / eris.io.com> wrote: > NQXML is a pure Ruby implementation of an XML > tokenizer, a SAX parser, and > a DOM parser. "NQ" stands for "Not Quite". > > Version 0.2 adds a DOM parser and support for the > DOCTYPE and ENTITY tags. > It also recognizes ELEMENT, ATTLIST, and NOTATION > tags. The SAX parser has > been modified to yield the actual entity object > instead of a type, name, > data triplet. > > The home page for NQXML is > http://www.io.com/~jimm/downloads/nqxml/. > NQXML can also be found on the RAA at > http://www.ruby-lang.org/en/raa.html. > > Jim > -- Jim, excellent work on this! I've had time to play around with it briefly and was really impressed. A question for both Jim and the community at large. Would there be value in making the interfaces to NQXML and the existing expat-based xmlparser compatible? There has been recent discussion wrt including an XML parser in ruby proper and some valid concerns were raised about requiring expat as a standard part of ruby. If NQXML and xmlparser implemented the same interfaces, a developer could easily develop with a standard xml library (distributed as part of ruby) and then switch to expat for a speed boost if their environment allowed it. Thoughts? Chad __________________________________________________ Do You Yahoo!? Get email at your own domain with Yahoo! Mail. http://personal.mail.yahoo.com/