OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-apps message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: 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 <jirka@kosek.cz> schrieb:
leeloo5e79-docbook@yahoo.de 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: jirka@kosek.cz 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 .

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]