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] EXSLT: Date/time
by Florent Georges other posts by this author
Aug 3 2007 5:59AM messages near this date
Re: [exslt] EXSLT: Date/time | Re: [exslt] EXSLT: Date/time
& XSLT Attila wrote:

>  Sorry I fixed the incorrect URI, however I still get a similar error.

>  Error console:

>  XalanXPathException: The function number '
>  http://exslt.org/dates-and-times:date' is not available.
> 
(file:///C:/p4/dev/aaros/devmain_aa/SimTools/SimulatorTools/Generate_ConfigDocumentation_TEX
T.xsl,
>  line 18, column 64)
>  1>Error generating TEXT documentation, return code: 65280

  First, the error message is weird (function "number").  The following
stylesheet runs fine with Xalan-J 2.7.0:

    <xsl:stylesheet
        version="1.0"
        xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
        xmlns:date="http://exslt.org/dates-and-times"> 

      <xsl:output method="text"/> 

      <xsl:template match="/"> 
         Date: <xsl:value-of select="date:dat()"/> 
      </xsl:template> 

    </xsl:stylesheet> 

    (drkm)[3] ~/xslt/tests$
    xalan -IN exslt-date.xsl -XSL exslt-date.xsl

          Date: 2007-08-03+02:00

  I'm affraid that will require more work for you to track down a bug
somewhere else in your stylesheet, in your environment, or in your XSLT
processor (you can try the Xalan ML).

  Regards,

--drkm





















      ______________________________________________________________________________ 
Stockage illimité de vos mails avec Yahoo! Mail. Changez aujourd'hui de mail !
_______________________________________________
exslt mailing list
list@[...].org
http://www.exslt.org/list
Thread:
Attila
Charles V. Holmes
Florent Georges
Attila
Florent Georges
Attila
Florent Georges
Florent Georges

Privacy Policy | Email Opt-out | Feedback | Syndication
© 2004 ActiveState, a division of Sophos All rights reserved