[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: Apache FOP 0.94 and current-date() current-time()

Subject: RE: Apache FOP 0.94 and current-date() current-time()
From: "Michael Kay" <mike@xxxxxxxxxxxx>
Date: Thu, 7 Aug 2008 21:46:11 +0100
RE:  Apache FOP 0.94 and current-date() current-time()
Why not use Saxon to do the XSLT transformation and then use FOP to do the
XSL-FO rendering? The two steps are quite independent of each other.

Michael Kay
http://www.saxonica.com/ 

> -----Original Message-----
> From: Simonaitis, Linas Ignas [mailto:lsimonai@xxxxxxxxx] 
> Sent: 07 August 2008 21:30
> To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> Subject:  Apache FOP 0.94 and current-date() current-time()
> 
> Hello,
> 
> We are using Apache FOP 0.94, and would like to display the 
> current system date and time at the bottom of each page.
> We tried <xsl:value-of select="current-date()"/> and 
> <xsl:value-of select="current-time()"/>.
> Unfortunately, the Apache FOP error message is: could not 
> find function:
> current-date.
> Whereas Saxon9 can easily carry out this transformation (but 
> not the formatting).
> 
> What would be the best strategy? to continue using Apache 
> FOP, but to display the current-date() and current-time().
> 
> Thank you,
> 
> Linas

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.