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

Re: Importing compiled stylesheets

Subject: Re: Importing compiled stylesheets
From: Dimitre Novatchev <dnovatchev@xxxxxxxxx>
Date: Fri, 10 Jun 2005 06:20:50 +1000
Re:  Importing compiled stylesheets
On 6/9/05, Michael Kay <mike@xxxxxxxxxxxx> wrote:
> Unfortunately the module mechanisms in XSLT don't really lend themselves to
> independent compilation of modules, since much of the information you need
> when compiling isn't available until all the modules are available. For
> example if A imports B, then B can refer to a global variable defined in A.
> Also, A can redefine a global variable defined in B, and the replacement
can
> even have a different type. So when you compile B, you don't know very much
> about the environment it will run in, which reduces your ability to make
> compile-time decisions.

Yes.

But in principle if there is a set of stylesheet modules such that all
references (xsl:import/xsl:include) are completely within this set
(between themselves) then we could compile every single stylesheet
module and there will not be any run-time problems in using something
like:

   <saxon:include-compiled-module href="hrefToCompiledStylesheet"/>

Or are there yet additional challenges?


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.