All about JAXP, Part 1
By Brett McLaughlin2005-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 | Name | Size | Download method | ||||
| Sample code for All about JAXP | x-jaxp-all-about.zip | 5 KB | FTP | ||||
| 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
