Sunday, January 30, 2005

SAX made easy

Otaku, Cedric's weblog: "Why I prefer SAX to parse XML" or SAX made easy.

I often use Dom4J with XPath to parse XML documents. I also used the Apache Excalibur configuration stuff (when it was still an Avalon subproject). The two SAX classes used to build the configuration tree structure used in this Excalibur package are simple enough to make one understand that SAX is not such a complicated beast (...even after it started supporting namespaces).

Still, Cedric's display of how simple SAX can be, for (maybe not so) simple parsing needs, is really interesting to follow!


[][][]