Re: [exslt] EXSLT: Date/time
by Attila other posts by this author
Aug 3 2007 7:36AM messages near this date
Re: [exslt] EXSLT: Date/time
|
Re: [exslt] EXSLT: Date/time
& XSLT ok, it turns out I was using Xalan-c by accident.
I downloaded Xalan-J 2.7.x and I get this:
C:\Documents and Settings\aaros\Desktop\xalan-j_2_7_0> java xalan
Exception in thread "main" java.lang.NoClassDefFoundError: xalan
C:\Documents and Settings\aaros\Desktop\xalan-j_2_7_0> java xalan.jar
Exception in thread "main" java.lang.NoClassDefFoundError: xalan/jar
Any ideas on how to launch?
thanks
On 8/3/07, Florent Georges <darkman_spam@[...].fr> wrote:
>
> 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_T
EXT.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 !
>
--
Attila
Software Developer
atteeela@gmail.com
Thread:
Attila
Charles V. Holmes
Florent Georges
Attila
Florent Georges
Attila
Florent Georges
Florent Georges
|