cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Corin Moss" <>
Subject RE: JXTemplate performance
Date Wed, 05 May 2004 21:41:38 GMT

Hi Sylvain,

Not wanting to start a game of twenty questions here, but your comment
regarding caching of jxtemplates interested me.  For what reason are
they not cacheable as a generator?



-----Original Message-----
From: Sylvain Wallez []
Sent: Thursday, 6 May 2004 9:33 a.m.
Subject: Re: JXTemplate performance

Ralph Goers wrote:

> In looking at JXTemplate it looks like many, if not all, of the things
> we are doing with XSLT could possibly be done with JXTemplate instead.

> Is this correct, or am I missing something.

JXTemplate has many of the XSLT control structure, but lacks everything
that is related to template rules. So both are complementary.

> Secondly, if I can replace XSLT with JXTemplate, is it worth it?  It
> certainly could be more readable, but would it perform better?

JXTemplate as a transformer certainly runs way slower than XSLT, since
the template being the input of the transformer, its compilation occurs
for every request.

Also JXTemplate isn't cachable both in its generator and transformer


Sylvain Wallez                                  Anyware Technologies 
{ XML, Java, Cocoon, OpenSource }*{ Training, Consulting, Projects }

CAUTION: This e-mail and any attachment(s) contains information
that is intended to be read only by the named recipient(s). It
may contain information that is confidential, proprietary or the
subject of legal privilege. This information is not to be used by
any other person and/or organisation. If you are not the intended
recipient, please advise us immediately and delete this e-mail
from your system. Do not use any information contained in it.

For more information on the Television New Zealand Group, visit
us online at

View raw message