- From: Ken <tuxgig@yahoo.com>
- Date: Wed, 18 Jul 2007 07:05:05 -0700 (PDT)
- To: www-xsl-fo@w3.org
Forgive a probable newbie mistake. My code looks like this: <fo:table-row space-after=".5in" wrap-option="wrap"> <fo:table-cell> <fo:block font-weight="bold">Option Name</fo:block> </fo:table-cell> <fo:table-cell> <fo:block font-weight="bold">Word</fo:block> </fo:table-cell> <fo:table-cell> <fo:block font-weight="bold">Bit</fo:block> </fo:table-cell> <fo:table-cell> <fo:block font-weight="bold">Selected Value</fo:block> </fo:table-cell> <fo:table-cell> <fo:block font-weight="bold">Description</fo:block> </fo:table-cell> </fo:table-row> </fo:table-header> <fo:table-body> <fo:table-row> <fo:table-cell> <fo:block font-weight="bold" color="blue" border="solid line blue"> <xsl:apply-templates select="row/option-name"/> </fo:block> </fo:table-cell> <fo:table-cell> <fo:block font-weight="bold" color="brown"> <xsl:apply-templates select="row/word"/> </fo:block> </fo:table-cell> [snip] Each of the templates contains nothing but <xsl:value-of select="."/> My output looks like this: OptionName Word Bit SelectedValue Description Option Name 1 1 1 xxx xxxx Option Name 2 1 1 xxx xxxx etc. The problem is that each column appears to be a single cell; IOW, each row isn't (apparently) composed of 5 cells. I discovered the problem when the final cell contained a long string and it didn't push the subsequent rows down when it wrapped. It's as though text is being appended to the single cell that comprises each column (I tried putting a border around each cell and got one border around each column.) What do I need to do differently so that each row is comprised of 5 cells? Thanks, Ken --------------------------------- Get the Yahoo! toolbar and be alerted to new email wherever you're surfing. --0-1673119234-1184767505=:91754 Content-Type: text/html; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Forgive a probable newbie mistake. My code looks like this:<br> <br> <fo:table-row space-after=".5in" wrap-option="wrap"><br> <fo:table-cell><br> <fo:block font-weight="bold">Option Name</fo:block><br> </fo:table-cell><br> <fo:table-cell><br> <fo:block font-weight="bold">Word</fo:block><br> </fo:table-cell><br> <fo:table-cell><br> <fo:block font-weight="bold">Bit</fo:block><br> </fo:table-cell><br> <fo:table-cell><br> <fo:block font-weight="bold">Selected Value</fo:block><br> </fo:table-cell><br> <fo:table-cell><br> <fo:block font-weight="bold">Description</fo:block><br> </fo:table-cell><br> </fo:table-row><br> </fo:table-header><br> <fo:table-body><br> <fo:table-row><br> <fo:table-cell><br> <fo:block font-weight="bold" color="blue" border="solid line blue"><br> <xsl:apply-templates select="row/option-name"/><br> </fo:block><br> </fo:table-cell><br> <fo:table-cell><br> <fo:block font-weight="bold" color="brown"><br> <xsl:apply-templates select="row/word"/><br> </fo:block><br> </fo:table-cell><br> [snip]<br> <br> Each of the templates contains nothing but <xsl:value-of select="."/><br> <br> My output looks like this:<br> <br> OptionName Word Bit SelectedValue Description<br> Option Name 1 1 1 xxx xxxx <br> Option Name 2 1 1 xxx xxxx <br> <br> etc. The problem is that each column appears to be a single cell; IOW, each row isn't (apparently) composed of 5 cells. I discovered the problem when the final cell contained a long string and it didn't push the subsequent rows down when it wrapped. It's as though text is being appended to the single cell that comprises each column (I tried putting a border around each cell and got one border around each column.)<br> <br> What do I need to do differently so that each row is comprised of 5 cells?<br> <br> Thanks,<br> <br> Ken<br> <br> <p>  <hr size=1>Get the Yahoo! toolbar and <a href="http://us.rd.yahoo.com/evt=48225/*http://new.toolbar.yahoo.com/toolbar/features/mail/index.php">be alerted to new email </a>wherever you're surfing. --0-1673119234-1184767505=:91754--
Received on Wednesday, 18 July 2007 19:12:14 UTC