ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> exslt
exslt
Re: [exslt] date:date returns 2000-01-01Z. What is wrong?
by James Fuller other posts by this author
Sep 19 2006 3:41AM messages near this date
Re: [exslt] date:date returns 2000-01-01Z. What is wrong? | Re: [exslt] date:date returns 2000-01-01Z. What is wrong?
& XSLT Vitaliy Obmanjuk wrote:
>  Hi
>  I'm downloaded date.date.zip.
>  After I called
>              <xsl:call-template name="date:date">
>                 <xsl:with-param name="date" />
>              </xsl:call-template>
>  I have "2000-01-01Z" on my html-page. What's wrong? Is there simple example?
>  Thank u very much


the question is what implementation of date:date are u using....

if u are importing the following xslt implementation
http://www.exslt.org/date/functions/date/date.date.template.xsl

it is also dependent on date-time which only has a javascript or msxml 
template implementation.

I would highly recc. u use an XSLT processor that natively supports this 
EXSLT function (Saxon, libxslt, etc).

then u would just invoke as if it is a function ala 
date:date($yourdatestring).

you will still need to declare namespace on top level xsl:stylesheet 
element as well e.g.

xmlns:date="http://exslt.org/dates-and-times"


gl, Jim Fuller


_______________________________________________
exslt mailing list
list@[...].org
http://www.exslt.org/list
Thread:
Vitaliy Obmanjuk
Florent Georges
Vitaliy Obmanjuk
Florent Georges
Vitaliy Obmanjuk
Florent Georges
Florent Georges
Vitaliy Obmanjuk
Florent Georges
James Fuller
Vitaliy Obmanjuk
Florent Georges
Jfuller
James Fuller
James Fuller

Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState Software Inc. All rights reserved