Ard Schrijvers wrote:
> > I'm wondering if there is a way to pre-compile XSLT into Java
> > classes, using the command-line xsltc compiler, put those classes
> > somewhere in Cocoon's classpath and use them as transformers.
>
> your xsl stylesheets are compiled only once in cocoon and then held in
> memory cache. Unless you set the maxobjects of your default transient
> store (from top of my head, so might be a little different) extremely
> low, stylesheets won't have to be recompiled
Alas, my problem is not recompilation, but secrecy. I'm working on a
proprietary application whose source code my client doesn't wish to
release. I'd like to write parts of it in XSLT, pre-compile them into
classes and somehow use the classes ("translets" in Xalan-speak) as
transformers.
Should I write a custom transformer from scratch that uses the Xalan
XSLTC runtime to operate the translets, or is there a better way?
Do you foresee problems in integrating the pre-compiled translets with
Cocoon's source resolver?
Tobia
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]