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

RE: date-time formatting question

Subject: RE: date-time formatting question
From: "Kenny Akridge" <kakridge@xxxxxxxxxxxxx>
Date: Tue, 3 Feb 2004 20:07:55 -0500
xslt time
Actually, for getting the month name, you probably will have to write a
template.  I said exslt before verifying they supported that function.
However, it sounds like you have a lot of date/time needs, so you may
want to look at what they offer.  The documentation and categorization
is pretty decent.

In the case of month names, you will need to enumerate them(which is
what I proposed to you alternatively).



-----Original Message-----
From: owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx
[mailto:owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx] On Behalf Of Bruce
D'Arcus
Sent: Tuesday, February 03, 2004 4:03 PM
To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
Subject: Re:  date-time formatting question


On Feb 3, 2004, at 3:51 PM, Kenny Akridge wrote:

> I would go with exslt if at all possible.

Thanks all!  Kenny, why the above?  What's the advantage there?  And if 
it's a superior solution, I still need a suggestion on how to actually 
use it :-)

My question was prompted by a general need for this sort of formatting, 
but also a specific one to do with bibliographic formatting, where you 
have citations like (Doe, 1999) and where years and month-day are often 
separated (as in my example), and month can either be spelled out in 
full, or abbreviated.

At some point this needs be international-friendly as well so that one 
can specify a language parameter can get proper output.

I understand some xslt processors have built-in support for exslt 
dates-and-times, but I don't really understand the pros-and-cons of 
using this as opposed to the solution Charles posted.

Bruce


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


 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.