[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: count cells for each table

Subject: Re: count cells for each table
From: "Braumüller, Hans" <H.Braumueller@xxxxxxxxxxxx>
Date: Mon, 24 Mar 2003 12:01:33 +0100
xsl count rows
Hi Jarno,

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

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...

Hi,

> By <xsl:variable name="col" select="count(preceding::col)"/> 

You want "count(preceding-sibling::col)"

Cheers,

Jarno - Linnunradan käsikirja liftareille: Osa 2

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

Thanks,

Hans Braumüller 
-- + -- 
Mail Art Not War
http://crosses.net

 


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


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.