Cannot get Table borders

Discussion in 'XML' started by james, Nov 22, 2004.

  1. james

    james Guest

    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
    james, Nov 22, 2004
    #1
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. =?Utf-8?B?VGhlUGlua1BhbnRoZXI=?=

    Trouble with Table borders

    =?Utf-8?B?VGhlUGlua1BhbnRoZXI=?=, Feb 13, 2006, in forum: ASP .Net
    Replies:
    4
    Views:
    2,061
    Flinky Wisty Pomm
    Feb 13, 2006
  2. Karsten Wutzke
    Replies:
    9
    Views:
    7,338
    Scott Yanoff
    Oct 31, 2003
  3. RedLine

    table borders for Mac/IE5

    RedLine, Jun 23, 2003, in forum: HTML
    Replies:
    1
    Views:
    1,035
    RedLine
    Jun 23, 2003
  4. JA
    Replies:
    8
    Views:
    483
    Barefoot Kid
    Nov 15, 2003
  5. George
    Replies:
    9
    Views:
    4,872
    George
    Oct 25, 2004
Loading...

Share This Page