xmlgraphics-fop-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jgpha9 <juliegaut...@yahoo.fr>
Subject Re: xsl:foreach problem : help !!
Date Sun, 01 Mar 2009 21:08:38 GMT

Ok, thanks.
I just put the xsl:foreach instruction before the <fo:layout-master-set> tag
(instead of before the <fo:page-sequence>) and it works !


Andreas Delmelle-2 wrote:
> 
> On 01 Mar 2009, at 18:39, jgpha9 wrote:
> 
> Hi
> 
>> Here is my xsl (part of) code :
> 
> <snip />
>>
>> I just want to generate one page per "advance". But the <xsl:value-of
>> select="advanceid"/> displayes nothing.
>> What am I doing wrong ??
> 
> The below table defines only one table-column, but you need at least  
> two:
> 
>>            <fo:table background-color="white" padding-right="5pt"
>> padding-left="5pt">
>>                <fo:table-column column-width="100mm"/>
>>                <fo:table-body>
>>                    <fo:table-row>
>>                        <fo:table-cell>
>>                            <fo:block>
>>                                advanceid :
>>                            </fo:block>
>>                        </fo:table-cell>
>>                        <fo:table-cell>
>>                            <fo:block>
>>                                <xsl:value-of select="advanceid"/>
>>                            </fo:block>
>>                        </fo:table-cell>
>>                    </fo:table-row>
>>                 </fo:table-body>
>>            </fo:table>
>>       </fo:flow>
>>    </fo:page-sequence>
>>    </xsl:for-each>
>>
> 
> 
> HTH!
> 
> Cheers
> 
> Andreas
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
> For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org
> 
> 
> 

-- 
View this message in context: http://www.nabble.com/xsl%3Aforeach-problem-%3A-help-%21%21-tp22275258p22277996.html
Sent from the FOP - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org


Mime
View raw message