[XSL-LIST Mailing List Archive Home]
[By Thread]
[By Date]
Re: [xsl] hardware xml / xslt
Subject: Re: [xsl] hardware xml / xslt
From: Jeff Kenton <jkenton@xxxxxxxxxxxxx>
Date: Wed, 25 Sep 2002 16:02:03 -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 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
|