Hi Chris,

Good news, you don't have to switch all your cocoon app from xalan to saxon !!

You can easily have a pretty <map:transformer type="xslt2.0" src="path/to/my/xslt2.0.xsl"/>

For this, you just have to :
1) add this libs in your classpath : http://svn.4sengines.eu/modcontrib/xslt2.0/trunk/java/lib/

2) patch your cocoon.xconf with this http://svn.4sengines.eu/modcontrib/xslt2.0/trunk/config/cocoon-xconf/component-declaration.xconf
( just copy the "component" node into the )

3) declare a transformer in your sitemap : http://svn.4sengines.eu/modcontrib/xslt2.0/trunk/sitemap.xmap
( components/tranformer node)

4) Add... use it ! example also here http://svn.4sengines.eu/modcontrib/xslt2.0/trunk/sitemap.xmap into <map:match pattern="*">

Just use when you need it, no global impact, I use it many times with no problems and enjoy xslt2.0.

HTH
++



On 08/05/2010 07:42 PM, Christopher Schultz wrote:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Mark,

On 8/5/2010 1:32 PM, Mark Eggers wrote:
I haven't used Cocoon in quite a while, but I remember that you can use Saxon
instead of Xalan. A quick google search brings up the following old blog entry
from Vadim:

http://blog.reverycodes.com/archives/000034.html

Maybe that's a good start?

Thanks for the tip: I'll start there.

It does look like switching from Xalan to Saxon is relatively painless,
and, if the performance claims in that post are accurate, I may even get
a faster product in the end.

Thanks,
- -chris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkxa9+0ACgkQ9CaO5/Lv0PB2pgCff9uHxt73O69IxhacUIEVkcK7
tWUAnRNDAJRJaIj4bzzMOl3iBUErbgTP
=8rMS
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@cocoon.apache.org
For additional commands, e-mail: users-h...@cocoon.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@cocoon.apache.org
For additional commands, e-mail: users-h...@cocoon.apache.org

Reply via email to