Re: [xsl] Re: [exslt] Re: [xsl] Importing compiled stylesheets

Subject: Re: [xsl] Re: [exslt] Re: [xsl] Importing compiled stylesheets
From: Colin Paul Adams <colin@xxxxxxxxxxxxxxxxxx>
Date: 30 Jun 2005 10:48:17 +0100
>>>>> "James" == James Fuller <jim.fuller@xxxxxxxxxxxxxx> writes:

    James> Colin Paul Adams wrote:
    >>>>>>> Mike, what you say is true, but is not relevant to the
    >>>>>>> case.  xsl:use-when IS a compile-time construction - it
    >>>>>>> runs at compile-time, not at run-time.  and the condiotion
    >>>>>>> is not a runt-ime condition - element-available evaluates,
    >>>>>>> AT COMPILE TIME, whether or not the instruction is
    >>>>>>> available.
    >>>>>>> 
    >>>>>>> 

    James> being very lazy at the moment,

    James> is this behavior what the spec explicitly states or is it
    James> implementator intepretation...also is it consistent between
    James> XSLT 1.0 and XSLT 2.0 ?

It is explicit, and it is not optional.

And it is not consistent, as XSLT 1.0 does not have a conditional
compilation facility.
-- 
Colin Adams
Preston Lancashire

Current Thread