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

Re: Two-level grouping problem

Subject: Re: Two-level grouping problem
From: "Aron Bock" <aronbock@xxxxxxxxxxx>
Date: Tue, 10 May 2005 22:47:21 +0000
rhs. messenger download
Given that "we could as well use the value of the last() node of
$rows[...] above to same effect", why is document order important?


Thank you for bringing this up. What I was getting at was that $rows[...] brings back nodes in a predictable order--document order in this case. The predictable order is important if our reference node on the RHS ( first(), last(), whatever) is to serve as a predictably-locatable node among its like-valued ilk.


Isn't the important bit that one and only one of the possibly multiple
items be picked up by the expression, regardless of where in the document
order the one we match may be?

Yes, this is the goal, but to achieve this using generate-id() we're relying on an [implicit] order to $rows, no?


Regards,

--A

_________________________________________________________________
Express yourself instantly with MSN Messenger! Download today - it's FREE! http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/


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.