[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

RE: [xsl] Standard Date/Time Publication Functions in XSL??


Subject: RE: [xsl] Standard Date/Time Publication Functions in XSL??
From: "Bruso, John" <jbruso@xxxxxxxxxxxx>
Date: Tue, 2 Aug 2005 16:31:22 -0600

Hi David,

I have it as:
<xsl:value-of select="format-date($d, "[D1o] [MNn], [Y]", "en", (),
())"/>

And get this error in the local transform:

Description: F Element type "xsl:value-of" must be followed by either
attribute specifications, ">" or "/>".



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







-----Original Message-----
From: David Carlisle [mailto:davidc@xxxxxxxxx]
Sent: Tuesday, August 02, 2005 4:21 PM
To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
Subject: Re: [xsl] Standard Date/Time Publication Functions in XSL??


> But I am unsure how to format it in the XSL.
It's an XPath function, so something like
<xsl:value-of select="format-date(....)"/>

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

No, xsl:function is for defining new functions, not for calling
functions.

David






________________________________________________________________________
This e-mail has been scanned for all viruses by Star. The
service is powered by MessageLabs. For more information on a proactive
anti-virus service working around the clock, around the globe, visit:
http://www.star.net.uk
________________________________________________________________________


Current Thread
Keywords