|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] 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
|
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
|

Cart








