Le 13 janv. 05, � 12:02, Philipp Rech a �crit :
...java.lang.RuntimeException: org.apache.fop.apps.FOPException: fo:flow must
contain block-level children...
Looks like this stays empty
<fo:flow flow-name="xsl-region-body">
<xsl:apply-templates/>
</fo:flow>
IIUC because your eventid element, for example, is in the SQL namespace, because its ancestor is <rowset ...xmlns="http://apache.org/cocoon/SQL/2.0">
So you must declare this namespace in your XSLT:
<xsl:stylesheet version="1.0" ... xmlns:sql="http://apache.org/cocoon/SQL/2.0" >
And then match using this namespace like
<xsl:template match="sql:eventid">
Note that debugging with views in the sitemap (or temporarily setting an xml serializer instead of the fo2pdf one) would allow you to see the exact XML that is passed to FOP, to find such problems.
-Bertrand
smime.p7s
Description: S/MIME cryptographic signature
