XML.com: XML From the Inside Out

XML.comWebServices.XML.comO'Reilly Networkoreilly.com
  Articles | Weblogs | Newsletter | Safari Bookshelf
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


Titles Only Titles Only Newest First
  • multiple xhtml files with document() function
    2005-07-05 10:28:27 nicolrob [Reply]

    I have multiple xhtml files that I want to access with the document() function. Each xhtml file has multiple

    elements with a numeric id attribute

    . I want to match this id number with a <paragraph> element of the xml file that the xslt is applied on, using the key()function. My xlst opens all the xhtml files but only matches the

    with the <paragraph> for the fist xhtml the remaining xhtml files are not match. How can I match elements when the document() function opens multiple xhtml files?



  • XSLT Implementation and revising it
    2005-01-17 11:42:43 mnl05 [Reply]

    Hi,
    May be not the right location for posting but
    I have a situation where I have to dynamically generate a xsl and deploy it on client. Any changes in that xsl on client side have to be merged with new xsl file (a replacement for the initial one) in next phase when we deploye the application again on client side. I would really appreciate any suggestions.


    Best regards,
    mnl05




Sponsored By:


Contact Us | Our Mission | Privacy Policy | Advertise With Us | | Submissions Guidelines
Copyright © 2008 O'Reilly Media, Inc. | (707) 827-7000 / (800) 998-9938