xsl-list
[Top] [All Lists]

Re: date-time formatting question

2004-02-04 09:35:22
Bruce,

Have a look at the libraries here http://xsltsl.sourceforge.net/ they have
some good date/processing templates and examples.

Cheers,

Mark

----- Original Message -----
From: "Bruce D'Arcus" <bdarcus(_at_)fastmail(_dot_)fm>
To: <xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com>
Sent: Wednesday, February 04, 2004 3:51 PM
Subject: Re: [xsl] date-time formatting question



On Feb 3, 2004, at 8:07 PM, Kenny Akridge wrote:

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.

I don't find the documentation at all decent for my needs.

If I go here for example:

http://www.exslt.org/date/functions/month-abbreviation/index.html

...all I see is this:

==================
Template Syntax
<xsl:call-template name="date:month-abbreviation">
    <xsl:with-param name="date-time" select="string" />?
</xsl:call-template>

The date:month-abbreviation function returns the abbreviation of the
month of a date. If no argument is given, then the current local
date/time, as returned by date:date-time is used the default argument.
==================

I'm a beginner (and someone with otherwise no coding background), and
the above makes no sense to me.  What I need is an example that
actually works.

As a general point, then, it would be really helpful if these exslt
pages could just provide the most minimal of working examples in the
documentation.

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