Re: date:format-date causing "No flow in page-sequence"

Oleg Tkachenko <[email protected]>
Newsgroups gmane.text.xml.xslt.extensions
Organization Multiconn Technologies
Message-ID <[email protected]>
Brown, James wrote:

> When trying to use  the following in an XSL-FO template I receive an "org.apache.fop.apps.FOPException: No flow in page-sequence" exception:
>   <xsl:value-of select="date:format-date('2003-01-02T12:34:15', 'CCYY MM DD hh:mm:ss')"/>
> 
> If I remove the line, or even just replace with
>   <xsl:value-of select="date:date-time()"/>
> all is fine.  Any ideas?

Seems like FOP doesn't like XSL-FO you are generating in XSLT. So first 
get XSL-FO document you are generating (run your stylesheet against 
source document, i.e. using xalan.bat/xalan.sh script from FOP 
distribution) and check it out if it's valid XSL-FO. Also in this XSL-FO 
you can verify results of date:format-date function call.
-- 
Oleg Tkachenko
http://www.tkachenko.com/blog
Multiconn Technologies, Israel
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.