This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: hardware xml / xslt
- From: Jeff Kenton <jkenton at datapower dot com>
- To: xsl-list at lists dot mulberrytech dot com
- Date: Wed, 25 Sep 2002 16:02:03 -0400
- Subject: Re: [xsl] hardware xml / xslt
- References: <001701c26485$49498c60$6401a8c0@pcukmka>
- Reply-to: xsl-list at lists dot mulberrytech dot com
Michael Kay wrote:
I'm currently working on a different approach, which is to make sure
that all the unused variables, templates etc from imported modules are
discarded from the compiled stylesheet. This creates a few problems for
things like saxon:evaluate(): which actually confirms the reasons some
implementors were reluctant to put an evaluate() function in the spec.
The evaluate() function clearly requires you to keep all the in-scope
variables available, but you should be able to detect and discard named
templates that can't possibly be called.
--
--------------------------
Jeff Kenton
DataPower Technology, Inc.
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list