xml editor

Supported platforms

Compatible with Windows7 & Mac OS X Snow Leopard

Ready for data server software
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

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


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

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
Keywords
XML Editor | XML Author | WYSIWYG Editors | Schema Editor | XSD Documentation | XSL/XSLT Editor | XQuery | XML Databases | SVN Client
© 2002-2011 SyncRO Soft Ltd. All rights reserved. | Sitemap | Privacy Policy | This website was created & generated with <oXygen/>®XML Editor