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

Re: sorting and preceding-sibling - only print *first*

Subject: Re: sorting and preceding-sibling - only print *first* in sorted list??
From: "Hardy Merrill" <HMerrill@xxxxxxxxxxxxxxxx>
Date: Tue, 12 Oct 2004 10:38:51 -0400
kenneth merrill
I like the idea, but I don't know how to do that.  Can you take pity on
an XSL newbie and kindly show me how to do that?

>>> marvin.the.cynical.robot@xxxxxxxxx 10/12/04 10:09AM >>>
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

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.