I am about to start writing a java application which will take XML files as input and retrieve data from the files and display it by various means. Which is the best API to use? Different people seem to recommend DOM, SAX, JAXP, JDOM and I recently heard of XOM as well. Any ideas? (bearing in mind i'm a java beginner but know a fair amount about XML)
If you don't want get into any XML API and would rather prefer Java-style access to the XML document, DOM4J or JDOM would definitely be the better choice. DOM4J is probably the more widely used one.