This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: position() counting by 2's
- From: "Michael Kay" <michael dot h dot kay at ntlworld dot com>
- To: <xsl-list at lists dot mulberrytech dot com>
- Date: Mon, 1 Apr 2002 19:27:59 +0100
- Subject: RE: [xsl] position() counting by 2's
- Reply-to: xsl-list at lists dot mulberrytech dot com
> It appears that position() is counting by twos.
That's because between every two elements you have a whitespace-only text
node. You can get rid of these using <xsl:strip-space elements="*"/>
Michael Kay
Software AG
home: Michael.H.Kay@ntlworld.com
work: Michael.Kay@softwareag.com
>
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list