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

RE: Standard Date/Time Publication Functions in XSL??

Subject: RE: Standard Date/Time Publication Functions in XSL??
From: "Bruso, John" <jbruso@xxxxxxxxxxxx>
Date: Tue, 2 Aug 2005 16:00:20 -0600
date format date example
Michael,

Can elaborate on format-date()?

I want to use this expression:

http://www.w3.org/TR/xslt20/#function-format-date

format-date($d, "[D1o] [MNn], [Y]", "en", (), ())

But I am unsure how to format it in the XSL.

<xsl:function name="format-date">
??
</xsl:function>

Thanks for the clarification.


John

    -------------------------
John Bruso
Web Developer
ph  307.674-6446-2608







-----Original Message-----
From: Michael Kay [mailto:mike@xxxxxxxxxxxx]
Sent: Tuesday, August 02, 2005 11:35 AM
To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
Subject: RE:  Standard Date/Time Publication Functions in XSL??

>
> Is there a way to publish the Date in XSL?
>
> Like: Wednesday, July 23 2005
>

In XSLT 2.0: yes - format-date()

In XSLT 1.0: no, other than by use of extensions such as those at
www.exslt.org

Michael Kay
http://www.saxonica.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.