Cannot get Table borders

J

james

Hello everyone!

I'm trying to convert to pdf and I have this XSL file where
I declate table attributes:

<xsl:attribute-set name="table.data">
<xsl:attribute name="table-layout">fixed</xsl:attribute>
<xsl:attribute name="space-before">10pt</xsl:attribute>
<xsl:attribute name="space-after">10pt</xsl:attribute>
<xsl:attribute name="border-style">solid</xsl:attribute>
<xsl:attribute name="border-width">10pt</xsl:attribute>
</xsl:attribute-set>

then I use them:

<xsl:template match="table">
<fo:table xsl:use-attribute-sets="table.data">
<xsl:if test="@layout">
<xsl:attribute name="table-layout">
<xsl:value-of select="@layout"/>
</xsl:attribute>
</xsl:if>
<xsl:if test="@border">
<xsl:attribute name="border-width">
<xsl:value-of select="@border"/>
</xsl:attribute>
</xsl:if>
<xsl:if test="@width">
<xsl:attribute name="inline-progression-dimension">
<xsl:value-of select="@width"/>
</xsl:attribute>
</xsl:if>

but it does not change the border!!!

it doesnt read the <xsl:value-of select="@border"/>


Any suggestons?

James
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,999
Messages
2,570,243
Members
46,835
Latest member
lila30

Latest Threads

Top