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

Re: exsl:node-set in xalan

Subject: Re: exsl:node-set in xalan
From: David Tolpin <dvd@xxxxxxxxxxxxxx>
Date: Sat, 17 Jan 2004 16:23:15 +0400 (AMT)
xalan exsl node set
> I haven't had a chance to analyze this yet (and I may not be able to
> this week), but one quick point is that wherever the Saxon performance
> problem is, it's not actually in exsl:node-set(). That's because all
> that exsl:node-set() does is to flip a bit saying that the tree can be
> used as a normal document.
> 
> The problem (or opportunity for improvement!) is much more likely to be
> in optimization of copying operations on trees.
> 
> An observation, on line 65 of incelim.xsl
> 
> 	<xsl:copy-of select="exsl:node-set($rng)"/>
> 
> there is no need for a call on exsl:node-set() here. You can copy an RTF
> directly.

Michael,

I've followed your suggestion and fixed the typo -- it was an oversight on my 
side instead. Note, though, that this operation is only executed once
per the stylesheet, and as you said, the only thing node-set() does is to
flip a bit.

The execution time didn't change at all, and it should not change.

David

 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.