The document() function will incur the cost of reading and parsing the
source XML and allocating memory to the resulting tree. This will almost
certainly be done once only during a transformation, if the same URL is
processed repeatedly. The only performance problems I'm aware of are
when you need to process hundreds documents, in which case you can run
out of memory.
Michael Kay
Software AG
home: Michael(_dot_)H(_dot_)Kay(_at_)ntlworld(_dot_)com
work: Michael(_dot_)Kay(_at_)softwareag(_dot_)com
-----Original Message-----
From: owner-xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
[mailto:owner-xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com] On Behalf Of
Stevenson Ngila
Sent: 01 April 2003 10:38
To: Xsl-List(_at_)Lists(_dot_) 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