xsl-list
[Top] [All Lists]

Importing compiled stylesheets

2005-06-09 02:17:12

The reason I would like to be able to import a compiled stylesheet is
not to use a functional library, but for performance.

I have this kind of setup:

A -> B -> C

Stylesheet A imports B, which imports C.

B and C are both reasonably large stylesheets.  A is generated per
request, is quite small and overrides specific templates in B or C
depending on the requirement.  I keep compiled copies of B and C in
memory, so when A is not needed I can just use the compiled version.
However, when A is needed, B and C must be parsed and built each time.

The fact that in XSLT the 'project specific' stylesheet must import the
'common' stylesheet, is why we really could do with a way of compiling
up that common stylesheet.

cheers
andrew

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--



<Prev in Thread] Current Thread [Next in Thread>