Package examples.xml

The examples in this package illustrate how to generate and parse XML data using SAX and DOM parsers.

See:

 

Class Summary

Client This client class works with the Sax, Dom, Attributes, GeneratedParser, and Entityresolution examples included in this package to demonstrate how XML data can be passed and manipulated between a client and a JSP.
 

Package examples.xml Description

The examples in this package illustrate how to generate and parse XML data using SAX and DOM parsers.

  Examples Summary

examples.xml.sax Demonstrates how to parse an XML document using a SAX parser obtained via JAXP.
examples.xml.dom Demonstrates how to parse an XML document using a DOM parser obtained via JAXP.
examples.xml.orderParser Demonstrates how to parse an XML document into business objects using the XMLInputStream API.
 

The examples in this package illustrate how to generate and parse XML data using SAX and DOM parsers.

All the examples use the Java API for XML Parsing (JAXP) to access the particular SAX or DOM parser rather than accessing the parsers directly.

Detailed instructions for building and running each example are included on the individual example pages.

  Read more about: