Re: XSLT Version?
2008/7/3 Andrew Chamberlain [EMAIL PROTECTED]: Hi All, Simple question, I hope. How do I find out which version of XSLT I've got? Try using some XSLT 2-only features in a pipeline and see if you get a stack trace instead? ;-) My version of Cocoon is: 2.1.10, if it's related to that. Ultimately, I'd like to be using XSLT 2.0. Short answer is it depends :-) The default XSL transformer in the sample web app uses Xalan, which is XSLT 1.something, so that's probably what you're using. But you can change the configuration in the cocoon.xconf to make it use Saxon instead, which supports 2.0 (or just set up a second XSL transformer for Saxon and use whichever one you need in any given pipeline). Andy. -- http://pseudoq.sourceforge.net/ Open source java Sudoku creator - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: XSLT Version?
Hi Andy, Thanks for that. Yes - I'm using Xalan as provided with the sample webapp. I think your suggestion of setting up Saxon in parallel to Xalan is probably the best option, as I don't want to affect the other pipelines we have running. Thanks again, Andy Andy Stevens wrote: 2008/7/3 Andrew Chamberlain [EMAIL PROTECTED]: Hi All, Simple question, I hope. How do I find out which version of XSLT I've got? Try using some XSLT 2-only features in a pipeline and see if you get a stack trace instead? ;-) My version of Cocoon is: 2.1.10, if it's related to that. Ultimately, I'd like to be using XSLT 2.0. Short answer is it depends :-) The default XSL transformer in the sample web app uses Xalan, which is XSLT 1.something, so that's probably what you're using. But you can change the configuration in the cocoon.xconf to make it use Saxon instead, which supports 2.0 (or just set up a second XSL transformer for Saxon and use whichever one you need in any given pipeline). Andy. -- http://pseudoq.sourceforge.net/ Open source java Sudoku creator - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] . - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: XSLT Version?
Andrew Chamberlain wrote: Hi All, Simple question, I hope. How do I find out which version of XSLT I've got? My version of Cocoon is: 2.1.10, if it's related to that. Ultimately, I'd like to be using XSLT 2.0. Thanks, Andy Insert something like the following into a stylesheet: xsl:comment xsl:textVersion is: /xsl:text xsl:value-of select=system-property('xsl:version')/ /xsl:comment Hope this helps, StanD. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]