"Rabih Yassine" <[EMAIL PROTECTED]> 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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to