Re: [exslt] Using date-and-time ... failure..
by James Fuller other posts by this author
Aug 29 2006 9:38AM messages near this date
[exslt] Using date-and-time ... failure..
|
[exslt] xalan:evaluate problem
& XSLT Ilpide, Emmanuel wrote:
> Hello!
>
> I'm running the following XSLT:
>
> <xsl:stylesheet version="1.0"
> xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
> xmlns:date="http://exslt.org/dates-and-times"
> extension-element-prefixes="date">
>
> <xsl:import href="date.xsl" />
>
> <xsl:template match="/*">
> <xsl:call-template name="date:date-time"/>
> </xsl:template>
> </xsl:stylesheet>
> ... but I get this:
>
> % Xalan270 tt tt2.xsl
> XSLT Warning: Fatal Error.Occurred at unknown file, line 0, column 0. An
> exception occurred! Type:RuntimeException, Message:The primary document
> entity could not be opened.
> Id=file:///home/arborp4/users/manu/exslt/functions/format-date/str.padding.function.xsl
> (file:///home/arborp4/users/manu/exslt/functions/format-date/date.format-date.function.xsl
,
> line 9, column 47.)
> SAXParseException: An exception occurred! Type:RuntimeException,
> Message:The primary document entity could not be opened.
> Id=file:///home/arborp4/users/manu/exslt/functions/format-date/str.padding.function.xsl
> (, line 0, column 0)
>
> Any idea why this is happening?
>
yes just import the specific stylesheet, not the module level import
or..use an XSLT processor that natively supports the desired EXSLT function.
gl, Jim Fuller
> Thanx!
>
> /*Emmanuel ILPIDE*/
> *Comverse *- /Kenan Billing Solutions/
> Mail: emmanuel.ilpide@[...].com <mailto:emmanuel.ilpide@[...].com>
> Office: +33147961144
> Mobile: +33621552072
> <mailto:emmanuel.ilpide@[...].com>
>
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> exslt mailing list
> list@[...].org
> http://www.exslt.org/list
--
-----------
FlameDigital Limited | Webcomposite s.r.o.
Technical Director
Co-Author WROX Pro PHP4 XML, WROX Pro PHP Web Services
Co-Creator EXSLT http://www.exslt.org
Technical Reviewer WROX Beginning Databases, Beginning XSLT, XML
Handbook, Extreme XML 2004,2005,2006
XML Prague 2005/2006 http://www.xmlprague.cz
-----------
_______________________________________________
exslt mailing list
list@[...].org
http://www.exslt.org/list
Thread:
Emmanuel Ilpide
James Fuller
|