Hi Julie,

> -----Message d'origine-----
> De : jgpha9 [mailto:[email protected]] 
> Envoyé : dimanche 1 mars 2009 18:39
> 
> Hi all,
> Here is my xsl (part of) code : 
> 
> <xsl:for-each select="/payment/advances/advance">
>   <fo:page-sequence master-reference="simple" 
> initial-page-number="1">                   
>        <fo:flow flow-name="xsl-region-body">
>             <fo:table background-color="white" padding-right="5pt"
> padding-left="5pt">
>                 <fo:table-column column-width="180mm"/>       
>          
>                 <fo:table-body>
>                     <fo:table-row>
>                         <fo:table-cell>
>                             <fo:block>
>                                 AVANCE
>                             </fo:block>     
>                         </fo:table-cell>
>                     </fo:table-row>
>                 </fo:table-body>
>             </fo:table>
>             <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>
> 
> The xml file looks like : 
> 
> <payment><advances><advance><advanceid>194</advanceid></advanc
> e><advance><advanceid>196</advanceid></advance></advances></payment>
> 
> I just want to generate one page per "advance". But the <xsl:value-of
> select="advanceid"/> displayes nothing.
> What am I doing wrong ??
> Thanks in advance.

Your 2nd fo:table contains only 1 fo:table-column, and its 1st fo-table-row 
contains 2 fo-table-cell.

Pascal


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to