|
Subject: RE: [xsl] performance when using document() function From: "Philip Fitzsimons" <pfitzsimons@xxxxxxxxxxx> Date: Tue, 1 Apr 2003 11:09:53 +0100 |
I have found that often you have on xml file that you wish to use more than
once, for example a mapping file.
A good timesaving is to put it into a variable at the root of the
template...
<xsl:variable name="mapping" select="document('mapping.xml')/root"
/>
Then use the variable instead of the document
$mapping
-----Original Message-----
From: owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx
[mailto:owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx] On Behalf Of Stevenson Ngila
Sent: 01 April 2003 10:38
To: Xsl-List@Lists. Mulberrytech. Com
Subject: [xsl] performance when using document() function
Does anyone know what the performance consequences are
when using the document() function?
Tips on improving performance are welcome.
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
| Current Thread |
|---|
|
| <- Previous | Index | Next -> |
|---|---|---|
| [xsl] performance when using docume, Stevenson Ngila | Thread | Re: [xsl] performance when using do, David Carlisle |
| RE: [xsl] Fixing entities, Stuart Brown | Date | Re: [xsl] Fixing entities, David Carlisle |
| Month |