Subject: Re: [xsl] Does this XSLT 2.0 stylesheet use any XSLT 2.0 features? From: David Carlisle <davidc@xxxxxxxxx> Date: Thu, 25 Sep 2008 17:36:09 +0100 |
> is there any easy way to determine whether an XSLT 2.0 stylesheet actually > contains any XSLT 2.0 features? change version attribute to 1.0 to stop forwards compatibility processing and then process with an xslt 1 engine. depending on what you mean by "xslt2 features" this will give you an error message usually if (say) an xpath2 function like max() is used. However If you have <xsl:value-of select="foo"/> where you have the "xslt 2 feature" of giving the string value of every foo selected, rather than just the first, then there isn't much you can do except run the thing on the two systems and diff the results. David ________________________________________________________________________ The Numerical Algorithms Group Ltd is a company registered in England and Wales with company number 1249803. The registered office is: Wilkinson House, Jordan Hill Road, Oxford OX2 8DR, United Kingdom. This e-mail has been scanned for all viruses by Star. The service is powered by MessageLabs. ________________________________________________________________________
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] Does this XSLT 2.0 styles, Florent Georges | Thread | [xsl] Issue processing heterogeneou, Burgess, Doug |
Re: [xsl] Does this XSLT 2.0 styles, Jonathan Robie | Date | Re: [xsl] Does this XSLT 2.0 styles, Colin Paul Adams |
Month |