Does anyone know a good resource on using SAX? I don't mean an API reference or something describing just the very first steps, but something that explains how to write good code using SAX.
I can use it basically. The problem is that the code I write in the process is consistently the ugliest I produce. There has to be a better way.
Because I have to deal with large documents regularly, DOM or similar things aren't always an option, and I would like to avoid exotic parsers. I want to have a look at StAX but so far I never got around to it.