[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

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


Subject: Re: [xsl] Re: [exslt] Re: [xsl] Importing compiled stylesheets
From: David Carlisle <davidc@xxxxxxxxx>
Date: Mon, 13 Jun 2005 10:07:34 +0100

[I removed the CC to exslt@xxxxxxxxxxxxxxxxxxxxx]

  But that isn't a big problem.  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 

As others have said you could use a custom attribute on xsl:include or,
if you want to use a different element (which is more flexible in some
ways) the stylesheet author could make its use conditional using
xsl:use-when= on the extension element and and use-when (with a negated
test) on xsl:include

David

________________________________________________________________________
This e-mail has been scanned for all viruses by Star. The
service is powered by MessageLabs. For more information on a proactive
anti-virus service working around the clock, around the globe, visit:
http://www.star.net.uk
________________________________________________________________________


Current Thread