xsl-list
[Top] [All Lists]

Re: hardware xml / xslt

2002-09-25 12:56:58
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 keeping all in-scope variables
available, but you should be able to detect and discard templates that can't
possibly be called.

--
--------------------------
Jeff Kenton
DataPower Technology, Inc.




XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list



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