RE: [xsl] converting empty nodes to col/rowspan values

Subject: RE: [xsl] 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