File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes XML and Related Technologies and the fly likes Which XML API do you think best??? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » XML and Related Technologies
Bookmark "Which XML API do you think best???" Watch "Which XML API do you think best???" New topic

Which XML API do you think best???

Javan Li
Ranch Hand

Joined: Jul 24, 2002
Posts: 84
IBM, Sun or something else???
Ranch Hand

Joined: Nov 22, 2008
Posts: 18944
Hi Javan,
Most developpers will use JAXP (abstraction layer on top of SAX and DOM) that has been developped by Sun.
Alternatively, JDOM is a open source library that a number of developpers favors as it keeps things simple.
For transforming XML files (using XSLT), you should use TRAX (javax.xml.transform) that is an open API from Sun.
Once you've made up your mind, you'll need to choose a parser (for instance Xerces) and eventually a XLST processor (Xalan for instance) if you intend to use XLST.
If you are using the 1.4 JDK, you don't even need to download anything as it comes with XML APIs (JAXP + SAX + DOM + TRAX).
May Google help you find all needed resources
Venkata Ramana Rapelli

Joined: Dec 03, 2002
Posts: 1
I think JAXP(Java API for XML Parsing)
I agree. Here's the link:
subject: Which XML API do you think best???
It's not a secret anymore!