Table border in XSL FO

Hi,

I have a question concerning the table border in XSL FO.
I use AntennaHouse XSL Formatter and I get a table without borders. 
I've tried to be more specific and add "border-width" attribute to the table element. Still no borders.
I use AntennaHouse to convert my xml file to PDF.

Here's my xsl file:

<xsl:template match="table">
<fo:table-and-caption caption-side="before">
<fo:table-caption
	padding-top="8pt">
<fo:block
	font-family="sans-serif"
	font-weight="bold"
	font-size="12pt"
	text-align="center">
<xsl:value-of select="caption"/>
</fo:block>
</fo:table-caption>
<fo:table
	border-width="12pt"
	border-collapse="separate"
	text-align="center">
<fo:table-body>
   <xsl:for-each select="trow">
    <fo:table-row>
     <xsl:for-each select="th">
       <fo:table-cell
	   padding-left="5pt"
	   padding-right="3pt">
       <fo:block
	   font-weight="bold">
        <xsl:value-of select="."/>
       </fo:block>
      </fo:table-cell>
    </xsl:for-each>

     <xsl:for-each select="td">
      <fo:table-cell
            padding-left="5pt"
	   padding-right="3pt">
       <fo:block
	   font-weight="normal">
       <xsl:value-of select="."/>
      </fo:block>
     </fo:table-cell>
    </xsl:for-each>
   </fo:table-row>
  </xsl:for-each>
</fo:table-body>
</fo:table>

</fo:table-and-caption>


</xsl:template>


___________________________________
NOCC, http://nocc.sourceforge.net

Received on Tuesday, 25 June 2002 06:23:10 UTC