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

Re: Relationships in for-each statement

Subject: Re: Relationships in for-each statement
From: Wendell Piez <wapiez@xxxxxxxxxxxxxxxx>
Date: Fri, 08 Sep 2006 12:10:17 -0400
Re:  Relationships in for-each statement
Bob,

At 06:44 PM 9/7/2006, you wrote:
First, it doesn't look to me like you need that xsl:if test at all.
As on other occasions, if no such nodes exist, a for-each instruction
won't select any to operate on.

:-) "While we were in a commercial break," that xsl:if test lets me know I need to output a proper header for the group of items to follow.

Well in that case ... you're sure to have figured out that having to use the same monster path twice -- once in an xsl:if for the "wrapper logic" and a second time inside the "if" clause to select the nodes themselves -- makes for all the more reason to bind it to a variable. It will prevent a processor that has no optimization for this from looking through the entire document repeatedly for the same nodes.


Yeah, I saw that from David. I'm very excited about that, for more
than one reason.

As for being excited by this: I guess that's what makes you a computer programmer.


Cheers,
Wendell

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.