xsl-list
[Top] [All Lists]

RE: Complicated grouping and column question

2005-06-29 15:00:27
I didn't catch that the elements were unsorted. That changed everything.
In my example the sorting is an arbitrary one done at time of
data-entry, so my challenge wasn't nearly as great.

-----Original Message-----
From: Will McCutchen [mailto:mccutchen(_at_)gmail(_dot_)com] 
Sent: Wednesday, June 29, 2005 2:56 PM
To: xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
Subject: Re: [xsl] Complicated grouping and column question


I just did this exact same thing. My solution was to find middle child

of the parent elements, and identify it with a key, then put all the 
preceding-siblings of that child's parent, plus the parent itself in 
the left hand column, and all the following-siblings of that child's 
parent in the right hand column.

I tried a few experiments along these lines, but they did not work for
me.  I couldn't find the correct middle child because the elements
weren't in the correct order.  At least, I couldn't think of a way to do
it on my own.  Thanks for the help, though.


Will.

--~------------------------------------------------------------------
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>
--~--


--~------------------------------------------------------------------
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>