You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Richard Heintze <si...@yahoo.com> on 2001/08/05 17:54:54 UTC

How to convert date from "2001-7-25" to "July 25, 2001"

I've been reading about dates and time formats in
Professional XSL (Wrox Press) and XML Bible 2nd Ed
(Hungry Minds) by Harold.

I'm a little confused by the former because they talk
about calling Javascript functions inside the XPATH of
XSLT select statement on page 166: "Use the languages
attribute to specify which language you whish the
contained text to be interpreted as, and ... Note that
different XSLT parsers handle the extension issue
differently (see Michael Kay's book XSLT Programmer's
Reference) for more information on using Java to
handle extensions".

I want to sort dates in the format of "2001-7-25" and
display them as July 25, 2001.

__________________________________________________
Do You Yahoo!?
Make international calls for as low as $.04/minute with Yahoo! Messenger
http://phonecard.yahoo.com/

---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

To unsubscribe, e-mail: <co...@xml.apache.org>
For additional commands, e-mail: <co...@xml.apache.org>