Re: [xslt] external data in stylesheets
- From: Matt Sergeant <matt sergeant org>
- To: "xslt gnome org" <xslt gnome org>
- Subject: Re: [xslt] external data in stylesheets
- Date: Mon, 23 Jul 2001 00:30:12 +0100 (BST)
On Sat, 21 Jul 2001, Elizabeth Mattijsen wrote:
> document('')
> Then we realised that we could import the external XML-files as entities
> into the stylesheet and access with document(''). However, this turns out
> to be _worse_ than document($filename), because document('') seems to read
> the stylesheet _itself_ each time (or at least the first) time it is
> called. Because the stylesheet with the external data imported as
> entities is _more_ XML to parse than just the external XML-file, using
> document('') is actually slower (at least, that is what I gather from a
> benchmark using xsltproc). Not sure whether this is a bug or not.
I *just* sent a patch to this list to fix the speed issues with
document(''). Apply it and try again.
--
<Matt/>
/|| ** Founder and CTO ** ** http://axkit.com/ **
//|| ** AxKit.com Ltd ** ** XML Application Serving **
// || ** http://axkit.org ** ** XSLT, XPathScript, XSP **
// \\| // ** mod_perl news and resources: http://take23.org **
\\//
//\\
// \\
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]