This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Borders on column groups


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]