[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: performance when using document() function

Subject: RE: performance when using document() function
From: "Philip Fitzsimons" <pfitzsimons@xxxxxxxxxxx>
Date: Tue, 1 Apr 2003 11:09:53 +0100
document mapping
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


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.