This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: Future XSLT extensions. document(). Summary.
- To: <xsl-list at mulberrytech dot com>
- Subject: RE: Future XSLT extensions. document(). Summary.
- From: "Jonathan Borden" <jborden at mediaone dot net>
- Date: Wed, 22 Mar 2000 20:29:08 -0500
- Reply-To: xsl-list at mulberrytech dot com
Paul Tchistopolskii wrote:
>
> I apologize for repeating myself, but you get the overhead
> on every request ( invokation of the servlet ).
>
No. XSLT assumes no side effects. In particular, document(url) is cached in
certain mainstream implementations (I believe both XT and Xalan for two).
Assume that document(url) gives a constant value within the scope of a
transformation. Thus there is no performance advantage to setting values in
variables.
Jonathan Borden
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list