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

Grouping nodes by date

Subject: Grouping nodes by date
From: David Hirst <dhirst@xxxxxxxxx>
Date: Wed, 10 Jul 2002 13:09:59 -0400
download david hirst video messages
I would like to be able to group a set of nodes based on the date (past
dates and future dates)
Is this possible (I have an extension function that returns a boolean if

a date is in the past).
Currently I am selecting all the <items> arranging them in descindeing
order and calling my extension function and possibly outputting data to
the result tree. I was looking for a faster way to do this but have not
found one to date.

so my xml looks something like
<root>
    <item>
      <date>2002-07-07T12:00:00</date>
   </item>
    <item>
      <date>2002-07-11T12:00:00</date>
    </item>
    <item>
    ...
    ...
    </item>
</root>

Thanks
Dave Hirst



 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


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.