Helping ordinary people create extraordinary websites!
HOME TUTORIALS SCRIPTS WEB HOSTING BLOG FORUM
Get Our Newsletter
Email:

All about JAXP, Part 1

By Brett McLaughlin
2005-07-15


Summary

Having read this article, you've seen almost the entire scope of JAXP:
  • Provide hooks into SAX
  • Provide hooks into DOM
  • Allow the parser to easily be changed out

To understand JAXP's parsing and validation features, you'll wade through very little tricky material. The most difficult parts of putting JAXP to work are changing a system property, setting validation through a factory instead of a parser or builder, and getting clear on what JAXP isn't. JAXP provides a helpful pluggability layer over two popular Java and XML APIs. It makes your code vendor neutral and lets you to change from parser to parser without ever recompiling your parsing code. So download JAXP and go to it! Part 2 will show you how JAXP can help you transform XML documents.

Download

Description NameSizeDownload method 
Sample code for All about JAXP x-jaxp-all-about.zip5 KBFTP

Information about download methods



Tutorial Pages:
» XML processing toolkit facilitates parsing and validation
» JAXP: API or abstraction?
» Starting with SAX
» Dealing with DOM
» Performing validation
» Changing the parser
» Summary
» Resources


First published by IBM developerWorks


 | Bookmark
Related Tutorials:
» Make Database Queries Without the Database
» Load List Values for Improved Efficiency
» 2 Ways To Implement Session Tracking
» A Simple Way to Read an XML File in Java
» Develop Aspect-Oriented Java Applications with Eclipse and AJDT
» Java Validation With Dynamic Proxies