Re: [xsl] hardware xml / xslt

Subject: Re: [xsl] hardware xml / xslt
From: Jeff Kenton <jkenton@xxxxxxxxxxxxx>
Date: Wed, 25 Sep 2002 15:56:58 -0400
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



Current Thread