Hi

I have a table which will list a number of clients.  There are 2 or 3
rows displaying the details of each client.  I want to keep these rows
together and have the following code fragment which I hoped would do
this

             <xsl:for-each select="client">
               <fo:table-row keep-with-next.within-page="always">
                 <fo:table-cell>
                   <fo:block>
                     <xsl:value-of select = "position()"/>
                   </fo:block>
                 </fo:table-cell>
                 <fo:table-cell>
                   <fo:block font-size="9pt" >
                     Name: <xsl:value-of select="first_names"/>&nbsp;
                       <xsl:value-of select="surname"/>
                   </fo:block>
                 </fo:table-cell>
                 <fo:table-cell>
                   <fo:block>1</fo:block>
                 </fo:table-cell>
                 <xsl:for-each select=" results">
                   <fo:table-cell>
                     <fo:block>
                       <xsl:value-of select="result"/>
                     </fo:block>
                   </fo:table-cell>
                 </xsl:for-each>
               </fo:table-row>
               <!-- row for second detail -->
               <fo:table-row keep-with-previous.within-page="always">

I searched google and I think the above should work.

Any advice would be much appreciated.

Frank 


-------------------Legal  Disclaimer---------------------------------------

The above electronic mail transmission is confidential and intended only for 
the person to whom it is addressed. Its contents may be protected by legal 
and/or professional privilege. Should it be received by you in error please 
contact the sender at the above quoted email address. Any unauthorised form of 
reproduction of this message is strictly prohibited. The Institute does not 
guarantee the security of any information electronically transmitted and is not 
liable if the information contained in this communication is not a proper and 
complete record of the message as transmitted by the sender nor for any delay 
in its receipt.

----------------------------------------------------------------------------------------


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to