This is the mail archive of the
docbook-apps@lists.oasis-open.org
mailing list .
Re: Docbook stylesheets with Saxon
hello,
On Fri, 17 Nov 2000, DaveP wrote:
> At 05:03 PM 11/16/00, Norman Walsh wrote:
> >/ Dave Pawson <daveP@dpawson.freeserve.co.uk> was heard to say:
>
> java -classpath /myjava/cat/catalog.jar;/myjava/cat/catalog-apps.jar;/myjava/saxon/saxon.jar;/myjava/sax.jar;/myjava/xp.jar;/myjava/xt.jar;java -classpath /myjava/cat/catalog.jar;/myjava/cat/catalog-apps.jar;/myjava/saxon/saxon.jar;/myjava/sax.jar; -Dxml.catalog.files=/sgml/catalogx -Dxml.catalog.debug=3 com.icl.saxon.StyleSheet -o op.xml file.xml stylesheet.xsl
>
> Mike Kay's documentation says, to get hold of ParserManager.properties
> it must be in the classpath.
>
yes or alternatively you can do this with saxon using -x -y in the commandline
see the attachment( i didn't want to change the settings of my mailer) ;-)
> Is it Norm? Or is my java not even up to running this!
>
> Regards DaveP
regards
hope this helps
have fun but do take care
--
maddy
----------------------------------------------------------------------------
To tread the sharp edge of a sword
To run on smooth-frozen ice,
One needs no footsteps to follow.
Walk over the cliffs with hands free.
----------------------------------------------------------------------------
java -classpath /myjava/cat/catalog.jar;/myjava/cat/catalog-apps.jar;/myjava/saxon/saxon.jar;/myjava/sax.jar;/myjava/xt.jar;/myjava/xp.jar; -Dxml.catalog.files=/sgml/catalogx -Dxml.catalog.debug=3 com.icl.saxon.StyleSheet -x classname1 -y classname2 -o op.xml file.xml stylesheet.xsl
where classname1 = Use specified SAX parser for source file and any files loaded using the document()
function. The parser must be the fully-qualified class name of a
Java class that implements the org.xml.sax.Parser or
org.xml.sax.XMLReader interface
where classname2= Use specified SAX parser for stylesheet file, including any loaded using xsl:include
or xsl:import. The parser must be the fully-qualified class name
of a Java class that implements the org.xml.sax.Parser or
org.xml.sax.XMLReader interface