[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: [exslt] Re: Importing compiled stylesheets
On 6/13/05, Jirka Kosek <jirka@xxxxxxxx> wrote: > Dimitre Novatchev wrote: > > > Then this is certainly a good candidate for: > > > > <exslt:include-compiled-module href="hrefToCompiledStylesheet"/> > > > > > > Any opinions from the exslt mailing list? > > Wouldn't it be better to create custom attribute for xsl:include. Like: > > <xsl:include href="uncompiled.xsl" > exsl:compiledStylesheetLocation="hrefToCompiledStylesheet"/> > > That way you will get compatibility with all XSLT processors and > performance boost in ones that will support exsl:compiledStylesheetLocation. > > Jirka I think that Michael Kay explained why xsl:include is not appropriate to use for compiled stylesheet modules -- just re-read his first reply in this thread (in the xsl-list). A compiled module will need to be defined as something more closed. It may be a collection of many compiled stylesheets. What is important is its property that it doesn't use/know about global objects that exist outside this module (such as global variables, keys, etc). The only way to pass information to this module is by using parameters. Cheers, Dimitre Novatchev
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|