xsl-list
[Top] [All Lists]

Re: hardware xml / xslt

2002-09-25 13:02:03
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



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