O'Reilly logo

Enterprise Application Integration With XML and Java™ by Bill la Forge, JP Morgenthal

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

3.5. Summary

This chapter introduced you to the key methods of dealing with XML documents programmatically. All processing of XML documents starts with a parser, which ensures that the document is well-formed. Some XML parsers are also validating, which means that they can confirm that the document follows the rules specified in the Document Type Definition (DTD).

One method of acting upon the content of an XML document is to integrate document handlers with the parser. This method produces lightweight XML document processing solutions, such as when using the Simple API for XML (SAX). SAX is an event-driven processing model that will call methods inside the developer's application to process specific parts of an XML document that have been found. ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required