Sign In/My Account | View Cart  
advertisement

Article:
 Reading Multiple Input Documents
Subject: Performance using Document()
Date: 2003-04-01 05:16:58
From: Bob DuCharme
Response to: Performance using Document()

Well, it is disk I/O, so there's bound to be a reasonable hit, but I'm sure the measure of the perfomance hit depends on the XSLT implemention used. (If you're calling document() for many different documents, there will obviously be a bigger hit.) If you have to read the same one a lot, call document() once in a variable declaration and then reference that when you need it.


I'm not sure if it mentions the document() function, but the article by Mike Kay at http://www-106.ibm.com/developerworks/library/x-xslt2/ has a lot of good background for people interested in performance issues.


Bob


No Previous Message Previous Message Move up to Parent Message Up Next Message No Next Message


Full Text Titles Only Newest First

Sponsored By: