Hi I want to create an Avery labels report. The labels I use have 3 columns so I want a new row for the first, fourth, seventh, etc. To this end I test the position and attempt to create a new row when position() modulus 3 = 1.
<xsl:for-each select="//client"> <xsl:if test="position() mod 3 =1"> <!-- new row --> <fo:table-row> </xsl:if> I then put in the cell and my name and address. I then have a second test <xsl:if test="position() mod 3 =1"> </fo:table-row> </xsl:if> </xsl:for-each> Unfortunately I get the error below The element type "fo:table-row" must be terminated by the matching end-tag "". Could someone point me in the right direction please. 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]