Building Further on SAX
SAXON is a JAVA class library built on SAX that provides additional services:
- • It allows you to provide separate handlers for each element type
- • It supplies context information (parent, preparent, and so on)
- • It allows you to associate different output streams with individual elements or types
The standard element handlers allow you to do the following:
- • Copy an element unchanged to the output
- • Skip an element
- • Replace start and end tags
It is clear that this class library is aimed at XML to XML or HTML conversions.
An overview of other SAX based applications can be found at the following URL: http://www.megginson.com/SAX/index.html.