Re: [xsl] Does this XSLT 2.0 stylesheet use any XSLT 2.0 features?

Subject: Re: [xsl] Does this XSLT 2.0 stylesheet use any XSLT 2.0 features?
From: "Andrew Welch" <andrew.j.welch@xxxxxxxxx>
Date: Fri, 26 Sep 2008 17:00:45 +0100
>> Unfortunately, this happens in at least several places in at
>> least several stylesheets, and I doubt there's any easy way to
>> automatically detect where the difference
>
>  You could be able to transform quite easily your stylesheets to embed
> all your xsl:value-of/@select in a call to zero-or-more().  You then
> run your stylesheets with representative inputs, and each time a
> sequence with more than 1 item is used in those @select, that will
> generate an error.

vgood idea... but zero-or-one() right?

The other plan is to type all of your variables, then deal with any
that arise from that.


-- 
Andrew Welch
http://andrewjwelch.com
Kernow: http://kernowforsaxon.sf.net/

Current Thread