xsl-list
[Top] [All Lists]

Re: Re: [xsl] Importing compiled stylesheets

2005-06-29 22:04:17
"Mike" == Mike Brown <mike(_at_)skew(_dot_)org> writes:

    Mike> Colin Paul Adams wrote:
    >> You can use element-available within xsl:when to test for the
    >> availability of the exslt:include-compiled-module instruction,
    >> and, if it's not available, fall back on normal xsl:include

    Mike> xsl:include is a top-level element that is typically
    Mike> evaluated at 'compile' time. You can't make its evaluation
    Mike> depend on a run-time condition.

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.
-- 
Colin Adams
Preston Lancashire