- From: Sameer Parekh <ParekhS@myhealthchoice.com>
- Date: Thu, 17 Oct 2002 11:20:53 -0400 (EDT)
- To: <www-xsl-fo@w3.org>
Hello everyone I have a blovk that consists of 3 blocks within it. I am trying to work on something like a directory and on the pdf page, i have 5 columns. If there is not enough room for a whole block to fit together on one column, i directly want to get it on the next column instead of half the information being on one column and the other half on another one. I looked up some documentation and thought that the keep-together property on the outermost block will do it, but it did not work. Anybody got any ideas? Here is the sample: <xsl:for-each select="child::facility"> <fo:block keep-together="always"> <fo:block font-size="7pt" font-weight="bold" space-before="2mm"> <xsl:value-of select = "attribute::FacilityName"/> </fo:block> <fo:block font-size="7pt"> <xsl:value-of select="attribute::Address"/> </fo:block> <fo:block font-size="7pt"> <xsl:value-of select="attribute::City"/> <xsl:text>,</xsl:text> <xsl:value-of select="attribute::State"/> <xsl:text> </xsl:text> <xsl:value-of select="attribute::Zip"/> </fo:block> <fo:block font-size="7pt"> <xsl:value-of select="attribute::Phone"/> </fo:block> </fo:block> </xsl:for-each> Any help will be appreciated. Thanks, Sameer
Received on Thursday, 17 October 2002 14:41:22 UTC