I'm using XSL trying to get two table (one on top of the other) while simultaneously having a third table next to each other (see example below) Table1 Table3 Table2 Table3 continued Here's an idea of the code I've started <fo:table width="9in"> <fo:table-column column-width="4.5in"/> <fo:table-column column-width="4.5in"/> <fo:table-body> <fo:table-row> <fo:table-cell> <fo:block text-align="center"> <fo:table width="4in" border-style="solid" border-color="gray" border-width="0.5pt"> <fo:table-column column-width="3in"/> <fo:table-column column-width="1in"/> <fo:table-body> <fo:table-row background-color="{$row_header}"> <fo:table-cell border-style="solid" border-color="gray" border- width="0.5pt" padding-left="2pt"> <fo:block font-size="10pt" font-family="Arial" color="white" space-before="2pt" text-align="left">Header 1</fo:block> </fo:table-cell> <fo:table-cell border-style="solid" border-color="gray" border- width="0.5pt"> <fo:block font-size="10pt" font-family="Arial" color="white" space-before="2pt">Header 2</fo:block> </fo:table-cell> </fo:table-row> <fo:table-row> <fo:table-cell border-style="solid" border-color="gray" border- width="0.5pt" padding-left="2pt"> <fo:block font-size="10pt" font-family="Arial" space- before="2pt" text-align="left">Data 1</fo:block> </fo:table-cell> <fo:table-cell border-style="solid" border-color="gray" border- width="0.5pt" padding-left="2pt"> <fo:block font-size="10pt" font-family="Arial" space- before="2pt" text-align="left">Data 2</fo:block> </fo:table-cell> </fo:table-row> </fo:table-body> </fo:table> </fo:block> </fo:table-cell> <fo:table-cell> <fo:block text-align="center"> <fo:table width="4in" border-style="solid" border-color="gray" border-width="0.5pt"> <fo:table-column column-width="3in"/> <fo:table-column column-width="1in"/> <fo:table-body> <fo:table-row background-color="{$row_header}"> <fo:table-cell border-style="solid" border-color="gray" border- width="0.5pt" padding-left="2pt"> <fo:block font-size="10pt" font-family="Arial" color="white" space-before="2pt" text-align="left">Header 1B</fo:block> </fo:table-cell> <fo:table-cell border-style="solid" border-color="gray" border- width="0.5pt"> <fo:block font-size="10pt" font-family="Arial" color="white" space-before="2pt">Header 2B</fo:block> </fo:table-cell> </fo:table-row> <fo:table-row> <fo:table-cell border-style="solid" border-color="gray" border- width="0.5pt" padding-left="2pt"> <fo:block font-size="10pt" font-family="Arial" space- before="2pt" text-align="left">Data 1B</fo:block> </fo:table-cell> <fo:table-cell border-style="solid" border-color="gray" border- width="0.5pt" padding-left="2pt"> <fo:block font-size="10pt" font-family="Arial" space- before="2pt" text-align="left">Data 2B</fo:block> </fo:table-cell> </fo:table-row> </fo:table-body> </fo:table> </fo:block> </fo:table-cell> </fo:table-row> </fo:table-body> </fo:table> This will get two tables side by side, but how do I add in the third table? Thanks!
vispatel85@gmail.com wrote: > I'm using XSL trying to get two table (one on top of the other) while > simultaneously having a third table next to each other (see example > below) > Table1 Table3 > Table2 Table3 continued > > Here's an idea of the code I've started > > <fo:table width="9in"> We hardly have XSL:FO questions/discussions here. If you don't get an answer here you might want to try the XSL mailing list (http://www.mulberrytech.com/xsl/xsl-list/) instead, there are much more XSL:FO related questions and discussions than here. -- Martin Honnen --- MVP XML http://JavaScript.FAQTs.com/
On Apr 21, 11:46 am, Martin Honnen wrote: > vispate...@gmail.com wrote: > > I'm using XSL trying to get two table (one on top of the other) while > > simultaneously having a third table next to each other (see example > > below) > > Table1 Table3 > > Table2 Table3 continued > > > Here's an idea of the code I've started > > > <fo:table width="9in"> > > We hardly have XSL:FO questions/discussions here. If you don't get an > answer here you might want to try the XSL mailing list > (http://www.mulberrytech.com/xsl/xsl-list/) instead, there are much more > XSL:FO related questions and discussions than here. > > -- > > Martin Honnen --- MVP XML > http://JavaScript.FAQTs.com/ Thanks, I'll be sure to do that in the future. Although I think I asked my question a bit too soon. I was able to figure out my problem. Solution: Simply add a new <fo:table> in the same cell as the first table, this allowed me to have all three the way I wanted. Thanks!