I ran into an interesting problem where I wanted to specify a relative file path in a <code>file:</code> scheme (don't ask me why on earth would I want to do that). Here is what worked ( from an answer by ElliotteRustyHarold - a genius).
Labels: great, tool, library, xml, swissarmyknife, dom4j
Dom4J rocks for XML processing - Close to specification, open source, free, extremely performant and very elegant, intuitive API alongwith freely available documentation of examples as well as usage. And very efficient for parsing gigantic xml documents (how big? how about 450 MB?). There is a slight memory leak when doing XPath expressions that, at this enormous scale, adds up and causes memory problems (I used the fabulous Optimize IT profiler to ping the 'leaky' call down that allowed me to work around the problem). If you want a solution, add a comment; send me an email arun.batchu@gmail.com
