Next in thread → Next in month →

Re: [docbook-apps] date:date-time()

From
Date
2006-12-12T20:37:18+00:00
ID
Thread
Re: [docbook-apps] date:date-time()
No, should I? ;)
I didn't know that expression to add this to my XSL-Stylesheet. I did. But FOP does not know this EXSLT-Function:

WARNUNG: javax.xml.transform.TransformerException: 
        Timestamp processing requires an XSLT processor with support
        for the EXSLT node-set() function.
      
12.12.2006 17:11:11 org.apache.fop.cli.InputHandler warning
WARNUNG: javax.xml.transform.TransformerException: 
        Timestamp processing requires an XSLT processor with support
        for the EXSLT node-set() function.
      
12.12.2006 17:11:11 org.apache.fop.cli.InputHandler warning
WARNUNG: javax.xml.transform.TransformerException: 
        Timestamp processing requires an XSLT processor with
 support
        for the EXSLT node-set() function.

Generating first a FO-Output with xsltproc and then using FOP to convert to PDF or RTF, the date is displayed in Output. It seems that the XSLT processor which comes with FOP does not support the EXSLT functions.

Best Regards,
Leeloo

Jirka Kosek <> schrieb:  wrote:
> On http://www.exslt.org/date/functions/date-time/date.date-time.html you can find that date:date-time() should implemented in SAXON and libxslt. Using libxslt to convert xml with xsl to fo causes this error: Evaluating variable date failed
> Using FOP 0.20.5 causes this error 
> [INFO] Using org.apache.xerces.parsers.SAXParser as SAX2 Parser
> [ERROR] javax.xml.transform.TransformerConfigurationException:
 javax.xml.transform.TransformerException: javax.xml.transform.TransformerException: Prefix must resolve to a namespace: date

And do you have xmlns:date="http://exslt.org/dates-and-times" namespace
declaration attached to your xsl:stylesheet element?

-- 
------------------------------------------------------------------
  Jirka Kosek     e-mail:      http://www.kosek.cz
------------------------------------------------------------------
  Profesionální ¹kolení a poradenství v oblasti technologií XML.
     Podívejte se na ná¹ novì spu¹tìný web http://DocBook.cz
       Podrobný pøehled ¹kolení http://xmlguru.cz/skoleni/
------------------------------------------------------------------
                   Nejbli¾¹í termíny ¹kolení:
** XML pro vývojáøe 19.-22.3.2007 ** XML schémata 16.-18.4.2007 **
        ** XSL-FO 15.-16.5.2007 ** DocBook 26.-28.6.2007
 **
------------------------------------------------------------------
  http://xmlguru.cz    Blog mostly about XML for English readers
------------------------------------------------------------------

 
		Keine Lust auf Tippen? Rufen Sie Ihre Freunde einfach an.
 
 Yahoo! Messenger. Jetzt installieren 
.
Next in thread → Next in month →