Let's say i have a stylesheet named "sample.xsl":

1) First, I compile "sample.xsl" into a java class using Apache Xalan's 
XSLTC with a command like:

        java org.apache.xalan.xsltc.cmdline.Compile -d sampleDir -j 
sample.jar -p sampleTest sample.xsl

The above should create, from "sample.xsl", a jar file "sample.jar" 
containing a class "sample.class".

2) Then I would like to use that "sample.class" as a transformer in a 
Cocoon map.
        Instead of pointing to the sample.xsl, I would point to the class 
that "sample.xsl" was compiled into, namely "sample.class".

This would allow me to ship to the customer the compiled stylesheet, 
instead of the original XSL source code.

Is this possible at all in the latest version of Cocoon?

Please let me know if you need further clarification.

-j





"Steven D. Majewski" <[EMAIL PROTECTED]> 
02/28/2007 03:10 PM
Please respond to
[email protected]


To
[email protected]
cc

Subject
Re: XSLTC and Coccon







On Feb 28, 2007, at 4:02 PM, Julius Lerm wrote:

>
> Is there a way of incorporating into a Cocoon map translets 
> compiled outside of Cocoon via XSLTC command line?
> Thanks,
> Julius Lerm

I don't understand this question, and, off the top of
my head, I can think of at least 2 very different things
you might be asking. Could you try to be a little more explicit?

-- Steve Majewski


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Reply via email to