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 JAXP and SAX 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 "JAXP and SAX" Watch "JAXP and SAX" New topic


Suresh Appagundi
Ranch Hand

Joined: Sep 22, 2003
Posts: 44
What is the difference between JAXP and SAX?

Which is preferable to use and why?

And also what is advantageous to use SAX2.0 rather than SAX1.0.

Any sites regarding above please let me know.

thanks in advance
William Brogden
Author and all-around good cowpoke

Joined: Mar 22, 2000
Posts: 13037
JAXP is what Sun calls the current Java API for XML Processing. See this site.

The current Java 1.4 includes basic XML processing capability for both DOM and SAX processing - these libraries were previously (SDK 1.3) distributed as JAXP.

The current JAXP appears to add some additional functionality that you may not need.

I agree. Here's the link:
subject: JAXP and SAX
It's not a secret anymore!