This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: Q on incremental processing and count()
- From: "Joerg Heinicke" <joerg dot heinicke at gmx dot de>
- To: <xsl-list at lists dot mulberrytech dot com>
- Date: Sat, 16 Feb 2002 01:30:59 +0100
- Subject: Re: [xsl] Q on incremental processing and count()
- References: <3C6CF684.12B0BD3D@wincor-nixdorf.com>
- Reply-to: xsl-list at lists dot mulberrytech dot com
Hello Michael,
it's not clear what you want to do. Your variables are ok, no problems to
see. You only can shorten them:
<xsl:variable name="col-num" select="10"/>
<xsl:variable name="col-num" select="count(thead/th-row)"/>
<xsl:variable name="col-num" select="count(thead[1]/th-row)"/>
Between the two last declarations there should be no difference, because of
your XML.
But what exactly is the problem? What's the result you get and you expect?
What's the context of the variable declaration?
Regards,
Joerg
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list