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
|