From: Michael Kay <mhkay@ic...> - 2001-09-03 11:17:23
> 1> You mentioned about "whether you are running Saxon from
> the command line or
> from within an application."
> I using the Instant Saxon...
In that case you are using the command line.
And run the command line " C:\JavaProjects>Saxon sample.xml
> sample.xsl>sample.fo "
> I am not sure how to set the xerces parser to override the
> Aelfred parser.
> Do I need to set classpath in the java batch file? And do i
> need to copy
> xerces.jar into java/lib folder ?
You don't need to move the xerces.jar, file, you just need to include its
full file name in the CLASSPATH, e.g.
Then run Saxon with
saxon -x org.apache.xerces.parsers.SAXParser sample.xml sample.xsl