- From: <michelleaiken-webboards9999@mailblocks.com>
- Date: Mon, 08 Sep 2003 09:57:37 -0700
- To: www-xsl-fo@w3.org
I am using keep-with-next.within-column="always" but it does not seem to work. For example, I have a template with several rows similar to this: <xsl:template match="Customer"> <fo:table-row keep-with-next.within-column="always"><xsl:attribute name="font"><xsl:value-of select="//BaseFont"/><xsl:text> bold</xsl:text></xsl:attribute> <fo:table-cell padding-start="2pt" text-align="left" border-right-style="solid"> <fo:block> <xsl:value-of select="Com" /></fo:block> </fo:table-cell> </fo:table-row> <fo:table-row keep-with-next.within-column="always"><xsl:attribute name="font"><xsl:value-of select="//BaseFont"/></xsl:attribute> <fo:table-cell padding-start="4pt" text-align="left"> <fo:block> <xsl:value-of select="@Name" /></fo:block> </fo:table-cell> <fo:table-cell text-align="right" padding-end="2pt" border-right-style="solid"> <fo:block>Phone: <xsl:value-of select="Phone" /></fo:block> </fo:table-cell> </fo:table-row> <fo:table-row keep-with-next.within-column="always"><xsl:attribute name="font"><xsl:value-of select="//BaseFont"/></xsl:attribute> <fo:table-cell padding-start="4pt" text-align="left"> <fo:block> <xsl:value-of select="Title" /></fo:block> </fo:table-cell> <fo:table-cell text-align="right" padding-end="2pt" border-right-style="solid"> <fo:block>Fax: <xsl:value-of select="Fax" /></fo:block> </fo:table-cell> </fo:table-row> When I have enough Customers in my XML file to fill up more than one page, it breaks in the middle of a customer inspite of the keep-with-next.within-column="always" commands, and it also leaves the first page blank and prints the first customer on the second page (doesn't do this when the customers fit on one page). TIA for any help, Michelle
Received on Monday, 8 September 2003 12:57:38 UTC