Yeah. I already solve the problem.
The one letter in "formatdate" string need to be in uppercase like
"formatDate"
So, as this is a common function of EXSLT I think the XSLT Processor found
the function without any problem.
Thanks
Raphael Cabral
2009/8/10 Filip Jirsák <fi...@jirsak.org>
> Hello,
> it has nothing to do with DOM4J, it is problem of your XSLT library,
> probably Xalan.
>
> Filip Jirsák
>
>
> 2009/8/10 Bokerão <boke...@gmail.com>:
> > Hi Guys.
> >
> > I'm using the DOM4J API to transform the XML that I have with some XSL
> > files.
> >
> > Well, my XSL file have the follow line:
> >
> > <xsl:variable name="dEmi" select="/n:NFe/n:infNFe/n:ide/n:dEmi" />
> > <xsl:value-of select="date:formatdate($dEmi,'dd/MM/yyyy')" />
> >
> > But when I use this line I get this error:
> >
> > Cannot find external method
> > 'com.sun.org.apache.xalan.internal.lib.ExsltDatetime.formatdate' (must be
> > public).'
> >
> > Someone already use dom4j to style XML with XSL files and these XSL files
> > have EXSLT namespaces??
> >
> > Can someone give me some help!?!?
> >
> >
> > Best Regards
> > Raphael Cabral
> >
> >
> >
> ------------------------------------------------------------------------------
> > Let Crystal Reports handle the reporting - Free Crystal Reports 2008
> 30-Day
> > trial. Simplify your report design, integration and deployment - and
> focus
> > on
> > what you do best, core application coding. Discover what's new with
> > Crystal Reports now. http://p.sf.net/sfu/bobj-july
> > _______________________________________________
> > dom4j-user mailing list
> > dom4j-user@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/dom4j-user
> >
> >
>
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now. http://p.sf.net/sfu/bobj-july
_______________________________________________
dom4j-user mailing list
dom4j-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dom4j-user