xsl-list
[Top] [All Lists]

RE: Standard Date/Time Publication Functions in XSL??

2005-08-02 15:31:22
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(_at_)nag(_dot_)co(_dot_)uk] 
Sent: Tuesday, August 02, 2005 4:21 PM
To: xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
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
________________________________________________________________________

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--


--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--