thank you so much Bertrand - it works fine now when i use the namespace like
<xsl:template match="sql:eventid"> thank you! philipp > > ...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 > > -- --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
