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

"Colin Paul Adams" <[email protected]>
Newsgroups gmane.text.xml.xslt.extensions,gmane.text.xml.xsl.general.mulberrytech
Message-ID <[email protected]>
>>>>> "Mike" == Mike Brown <[email protected]> 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

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:[email protected]>
--~--
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.