Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
THRUST SERVICES & TOOLS
CLOUD EDITIONS
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Web CMS (TeamSite)
Do XSL components support XSL 2.0 elements
mrl984
I'm trying to use some xsl 2.0 elements (specifically xsl:for-each-group) and the xsl processor is simply ignoring them. I've added version="2.0" to the stylesheet declaration. With version="1.0" I predictably get syntax errors. But with 2.0, nothing.... no errors... the elements are just ignored. This occurs both in Preview and using LSDS.
Is there a setting somewhere that needs to be toggled to enable xsl 2.0 processing? I can't believe it wouldn't be supported.
I'm currently using 7.3.1 but will be upgrading to 7.3.2.
thanks!
Find more posts tagged with
Comments
Bowker
There is a string function available in XSLT 2.0 called "matches()". On 1/4/13 using LS 7.2.1 that function was unavailable. Therefore I believe LS 7.2.1 does not support XSLT 2.0.
Upgrading XSL processors from one version to another is not a simple task in some cases. Subtle changes in the way things work can have huge impacts on the resulting output.
ISCBorisB
Probably not. To double-check, create xslt that displays version information, something like this:[HTML]
[/HTML](As far as I recall, I've picked this idea from RonaldV, quite awhile ago)
Alternatively, you may try to find/run your Processor's Environment info Class, in the old Apache setting it was
org.apache.xalan.xslt.EnvironmentCheck. Note that I do not know such animal name in JBoss but it should not
be hard to find out.
Rick Poulin
The longer answer is LiveSite uses Xalan as its XSL parser, which as of the latest version (2.7.1) does not support XSLT 2.0. So until such time as Xalan gets a major upgrade (it hasn't moved in 5 years) or iwov changes its XSL library (don't hold your breath), it's not gonna happen.
http://xml.apache.org/xalan-j/index.html