I am producing some XML in a java application. I am looking at the variety of XML parsing options. I am not intending to do anything more than traverse the structure and extract values out of it. I need to use one of them that is built into the Java API (1.5+) without any additional plugins. I don't need to create "events" or transform it into anything else. I am not producing XML, merely reading and extracting data. I am not enforcing a schema either.
Sun provide a list here, but it's not really obvious what I should use.
http://java.sun.com/developer/technicalArticles/xml/JavaTechandXML/
What would be the most appropriate XML API to use in this case ? JAXP ? JDom ? XPath ?