|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Finding a fo:table-cells parent column's width for
JD Daniels wrote:
I have changed it so that the template that figures out the width uses a param i pass it, but how can I figure out if the table is inside a table cell, and pass it the value of the parent table cells parent fo:table-column width?
I mean <xsl:template match="table|tbody">
<xsl:param name="blockwidth"/>
<fo:table>
...
<xsl:call-template name="process-col-width">
...
<xsl:with-param name="parentblockwidth"
select="$blockwidth"/>
...
<fo:table-body>
<xsl:apply-templates>
<xsl:with-param name="blockwidth"
select="$blockwidth"/>
</xsl:apply-templates>
</fo:table-body>Watch out for default templates, they will ruin it. J.Pietschmann XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








