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
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