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

trying to figure out date functions

Subject: trying to figure out date functions
From: xml@xxxxxxxxxxxxxxxxxxxxxxx
Date: Thu, 21 Apr 2005 06:31:18 -0700
xml date function
For my first XML project, I exported data from a database into XML. I then created my XSL file to display only those fields that I want.

One of the fields that I'm displaying is a project start date. I've successfully sorted my data by that date. But I want to be able to suppress some dates, specifically any dates prior to the current date. Can I do that?

Also, the date as it comes from the database appears like "2005-04-22T00:00:00." How do I reformat that somehow to make it easier to read? I found some date/time parameters (extensions?) that are supposed to be able to do that, but I can't figure out how to make them work.

I'm using IE 6.0 as my processor.

Following are the XSL and XML files that work for me without reformatting the dates:

* http://frameuser.docspages.com/PubDates.xsl

* http://frameuser.docspages.com/PubDates.xml


Following are the XSL and XML files that didn't work:

* http://frameuser.docspages.com/PubDatesTest.xsl

* http://frameuser.docspages.com/PubDatesTest.xml

I've been messing with this for a while, so the test files show only my latest attempts.

Rick


_______________________________________________________
The FREE service that prevents junk email http://www.mailshell.com

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.