Re: Using date-and-time ... failure..
James Fuller <[email protected]>
| Newsgroups | gmane.text.xml.xslt.extensions |
|---|---|
| Organization | FlameDigital |
| Message-ID | <[email protected]> |
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: [email protected] <mailto:[email protected]> > Office: +33147961144 > Mobile: +33621552072 > <mailto:[email protected]> > > > > ------------------------------------------------------------------------ > > _______________________________________________ > exslt mailing list > [email protected] > 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 -----------