xsl-list
[Top] [All Lists]

Re: Two-level grouping problem

2005-05-10 15:47:21

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/


--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--



<Prev in Thread] Current Thread [Next in Thread>