Re: [xsl] date-time formatting question

Subject: Re: [xsl] date-time formatting question
From: "Bruce D'Arcus" <bdarcus@xxxxxxxxxxx>
Date: Wed, 4 Feb 2004 10:51:22 -0500

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



Current Thread