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

Re: Practical Suggestion for XSLT Performance Improvement

Subject: Re: Practical Suggestion for XSLT Performance Improvement
From: "Oren Ben-Kiki" <oren@xxxxxxxxxxxxx>
Date: Sun, 10 Oct 1999 11:05:39 +0200
xml performance improvement
Clark C. Evans <clark.evans@xxxxxxxxxxxxxxxxxxxx> wrote:
> > In an editor, for example, if a user alters a document at one
> > point - let's say they insert a new element -  the stylesheet can
> > be re-applied locally to get a close approximation of the result
> > of rendering the entire document.
>
> This is true _only if_ the stylesheet author sticks to
> <template match="..." /> constructs.  As soon as the stylesheet
> author writes any significant portion of the document with a
> <for-each select="$complicated-xpath-expression" /> construct,
> you have lost the war.

Actually, it is worse then that. The war is lost if you use
select="$complicated-path" _anywhere at all_, even in the humblest
<xsl:value-of>. You also get in trouble by using multiple
<xsl:apply-templates> on the same input tree fragment, and passing data
computed in one invocation to another.

In short, the war is probably lost anyway. I note that the proposed
recommendation still restricts the use of result tree fragments, as if
there's still a chance of winning it. Well, it is listed in the considered
future features list, so not all hope is lost...

Have fun,

    Oren Ben-Kiki


 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.