Re: [xsl] Borders on column groups

Subject: Re: [xsl] Borders on column groups
From: Gustaf Liljegren <gustafl@xxxxxxxxxx>
Date: Fri, 07 Jun 2002 23:16:21 +0200
At 11:53 2002-06-07 +0100, you wrote:

Thank you David,

That's was an impressive lesson. All I needed to do was to add the select
attribute to the <xsl:apply-templates> here:

  <!-- Table row -->
  <xsl:template match="tr">
    <fo:table-row>
      <xsl:apply-templates select="td | th"/>
    </fo:table-row>
  </xsl:template>

>I wrote
>
>   <xsl:if test="(ancestor::table//col)[$x]
>
>You wrote back
>
>   <xsl:if test="ancestor::table//col[$x]

For some reason, I thought it would work without the parentheses. And it
does. What difference would they make?

Gustaf

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread