RE: date-time formatting question
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
PURCHASE STYLUS STUDIO ONLINE TODAY!
Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!
Download The World's Best XML IDE!
Accelerate XML development with our award-winning XML IDE - Download a free trial today!
Subscribe in XML format