You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-users@xmlgraphics.apache.org by s-...@artefrance.fr on 2003/02/20 14:55:29 UTC
RE: usage (was : empty pdf file)
"Rabih Yassine" <Ra...@linkvest.com> wrote :
> For each bundle i want to write the Bundle Number and no of subscribers
on a
> new page.
> But when i use <fo:block break-before="page"> i will have only one
bundle on
> a new page although in my xml file i have 3 bundle lists.
It would be easier to answer your question with an example of your XML
datas, but I think you should use 2 <xsl:for-each> imbricated.
Just use something like this :
<xsl:for-each select="OFFER_BUNDLES">
<fo:block break-before="page">
<fo:table>
<fo:table-column/>
<fo:table-column/>
<fo:table-body>
<xsl:for-each select="BUNDLE">
<fo:table-row>
<fo:table-cell><fo:block font-size="12pt"><xsl:text>Bundle
Number</xsl:text></fo:block></fo:table-cell>
<fo:table-cell><fo:block font-size="10pt"><xsl:value-of
select="BUNDLE_SEQ"/></fo:block></fo:table-cell>
</fo:table-row>
<fo:table-row>
<fo:table-cell><fo:block font-size="12pt"><xsl:text>Number
of Subscribers in Bundle</xsl:text></fo:block></fo:table-cell>
<fo:table-cell><fo:block font-size="10pt"><xsl:value-of
select="NO_OF_SUBSCRIBERS"/></fo:block></fo:table-cell>
</fo:table-row>
</xsl:for-each>
</fo:table-body>
</fo:table>
</xsl:for-each>
Cheers,
Simon
---------------------------------------------------------------------
To unsubscribe, e-mail: fop-user-unsubscribe@xml.apache.org
For additional commands, e-mail: fop-user-help@xml.apache.org