|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: performance when using document() function
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: 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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








