RE: [xsl] position() counting by 2's

Subject: RE: [xsl] position() counting by 2's
From: "Michael Kay" <michael.h.kay@xxxxxxxxxxxx>
Date: Mon, 1 Apr 2002 19:27:59 +0100
> 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@xxxxxxxxxxxx
work: Michael.Kay@xxxxxxxxxxxxxx
>


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


Current Thread