Re: [xsl] Problem using preceding-sibling

Subject: Re: [xsl] Problem using preceding-sibling
From: David Carlisle <davidc@xxxxxxxxx>
Date: Tue, 14 May 2002 16:06:37 +0100
> I try to get the immediate sibling by checking the position, however I get
> always the first node.

I think you just want
 select="preceding-sibling::*[1]"
which is the preceding element. if you use node() you will just select
 the preceding white space.

David

_____________________________________________________________________
This message has been checked for all known viruses by Star Internet
delivered through the MessageLabs Virus Scanning Service. For further
information visit http://www.star.net.uk/stats.asp or alternatively call
Star Internet for details on the Virus Scanning Service.

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


Current Thread