cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stephen Clarke" <>
Subject Re: I may be confused - can I put Saxon into cocoon, or run Xerces at the command line?
Date Sun, 17 Feb 2002 23:10:43 GMT
----- Original Message -----
From: "Christian Haul" <>

> On 17.Feb.2002 -- 06:21 AM, Stephen Clarke wrote:
> > So I've been thinking, the thing to do is to figure out how to run
xerces at
> > the command line in order to test my code that way and check error
> This is what I do to run xalan (the XSLT processor) from command line (in
a script):
> C2_HOME=/path/to/xml-cocoon2
> export
> java org.apache.xalan.xslt.Process -IN $1 -XSL $2 $@
> putting this into a .bat, replace "export" with "set" and "$C2_HOME" with
> and all ":" with ";", set C2_HOME correctly and it should work on Windows.
> Well, you get the idea: You need to include the three jars in your
> and then you can start Xalan by pointing java to the above class. Use -IN
> your XML, -XSL for your XSL and -OUT if you want the result saved to a
> There are some debug switches which are quite useful, too:
>  -TT trace templates
>  -TG trace result element generation
>  -TS trace selection events
>  -TTC trace template children
> HTH,

Hi Chris,

That's perfect. I haven't tried it yet, but it looks like exactly what I

Many thanks.


Please check that your question has not already been answered in the
FAQ before posting. <>

To unsubscribe, e-mail: <>
For additional commands, e-mail: <>

View raw message