[Home] [By Thread] [By Date] [Recent Entries]

Subject: RE: converting empty nodes to col/rowspan values
From: "Andreas L. Delmelle" <a_l.delmelle@xxxxxxxxxx>
Date: Tue, 13 Apr 2004 23:07:47 +0200
> -----Original Message-----
> From: Reece, Michael Clark [mailto:REECEM@xxxxxxxxxxxx]

Hi,

Try:
> <xsl:template match="cell[not(.='')]">
>       <td colspan="{1+count(following-sibling::cell[.=''])}">
>         <xsl:value-of select="."/>
>       </td>
> </xsl:template>


Hope this helps!

Cheers,

Andreas

Current Thread
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member