You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Chris Gow <cg...@digitalfairway.net> on 2000/10/02 22:42:35 UTC

Date Formatting/parsing in XSL

Okay, I need to do some formatting of dates in my XSL file.  At first I
tried embedding Java method calls in my XSL file, and I've got it
working (sort of), but I am curious to know if there is a better
approach.  XSL comes with a standard function for formatting numbers, is
there one for formatting/parsing dates?  For example, I would like to
convert the date 10/02/2000 into something like Monday October 2, 2000.

Thanks

Chris Gow


Re: Date Formatting/parsing in XSL

Posted by "Bruce G. Robertson" <br...@mta.ca>.
On Mon, Oct 02, 2000 at 03:42:35PM -0500, Chris Gow wrote:
> Okay, I need to do some formatting of dates in my XSL file.  At first I
> tried embedding Java method calls in my XSL file, and I've got it
> working (sort of), but I am curious to know if there is a better
> approach.  XSL comes with a standard function for formatting numbers, is
> there one for formatting/parsing dates?  For example, I would like to
> convert the date 10/02/2000 into something like Monday October 2, 2000.

Not exactly a response to your question, but if you are 
internationalizing some of these things, you might be interested in my 
work at http://www.heml.org

Yrs,
-- 
Bruce Robertson, Dept. of Classics, Mount Allison University
http://www.mta.ca/faculty/humanities/classics/Robertson/ 

Sessions with XSP and JSP

Posted by Benjamin Dixon <be...@arches.uga.edu>.
All,

I'm looking into using PHP or JSP for simple but dynamic pages that I
don't think need to be written in XML with stylesheets but I'd like for
these pages to take part in the same session that the user creates with
XSP, is there a Java oriented way to do this without saving cookie data to
the database?

Ben