RE: [xsl] count cells for each table

Subject: RE: [xsl] count cells for each table
From: Jarno.Elovirta@xxxxxxxxx
Date: Mon, 24 Mar 2003 13:53:45 +0200
Hi,

> excuse me, but it is not function with more rows.

Aah, but you didn't say there were more than one row in your original question.

> in need for each table:
> 
>     <row num="1">
>       <col/>
>       <col/>
>       <col/>
>       <col/>
>     </row>
> 
>     <row num="2">
>       <col/>
>       <col/>
>       <col/>
>       <col/>
>     </row>
> etc..
> TABLE FIRST
> ROW 1
> col0
> col1
> col2
> ROW 2
> col3
> col4
> col5
> etc...
> 
> TABLE SECOND
> ROW 1
> col0
> col1
> col2
> ROW 2
> col3
> col4
> col5
> etc...

You want something like

  <xsl:number count="col" from="table" level="any" />

Cheers,

Jarno - Linnunradan käsikirja liftareille: Osa 4

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


Current Thread