Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JAXP and SAX

 
Suresh Appagundi
Ranch Hand
Posts: 44
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Suresh
 
William Brogden
Author and all-around good cowpoke
Rancher
Posts: 13058
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.

Bill
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic