Re: [xsl] sorting and preceding-sibling - only print *first* in sorted list??

Subject: Re: [xsl] sorting and preceding-sibling - only print *first* in sorted list??
From: Kenneth Stephen <marvin.the.cynical.robot@xxxxxxxxx>
Date: Tue, 12 Oct 2004 09:09:42 -0500
Hi,

    Why dont you write a second XSL program and have it operate on the
sorted output of the first? The document order for the
preceding-sibling in the second program will be the right order that
you need.

Regards,
Kenneth


On Tue, 12 Oct 2004 09:55:29 -0400, Hardy Merrill
<hmerrill@xxxxxxxxxxxxxxxx> wrote:

> I was trying to use "preceding-sibling" to figure out if the previous
> sibling ***in sorted order*** had the same district, but I've now
> figured out after reading on the subject that "preceding-sibling" does
> not operate on the sorted tree - instead it operates on the original
> tree that is in "document" order.
> 
> I'd like to use the best/most efficient method to solve this problem -
> the muncheon technique using keys if possible.  Can I do that, and if
> so, how?

Current Thread