Parser Control Example
Introduction
This code demonstrates how through the use of SAXSource input
a pipeline component can control features of the parsing, such
as validation and namespace processing.
The pipeline uses a DeltaXML Comparator component, but the techniques
are equally applicable to JAXP Transformers or indeed any JAXP
compatible component which can use SAXSource input.
Compile and Run
Please use the provided Ant script, or for Windows
Systems with J2SE 1.4.x, use the following commands:
Compile:
javac ParserControl.java
Run:
java -cp ../saxon.jar;. ParserControl demo1.xml demo2.xml
java -cp ../saxon.jar;. ParserControl demo1.xml demo3.xml
Manifest
|