[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: [exslt] Re: Importing compiled stylesheets

Subject: Re: [exslt] Re: Importing compiled stylesheets
From: Dimitre Novatchev <dnovatchev@xxxxxxxxx>
Date: Mon, 13 Jun 2005 21:11:08 +1000
 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

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.