RE: 1st or second sibling

Subject: RE: 1st or second sibling
From: "Beckers, Marc" <Marc.Beckers@xxxxxxxxxxxxxx>
Date: Tue, 7 Nov 2000 14:37:34 +0100
> 
> Hi, need to find out if the first or second following sibling 
> is the node
> "ead", I need something like:
> following-sibling::*[1|2][self::ead], however I know this 
> doesn't work. Can
> I do this without explicitly writing out the case for 1st and 
> 2nd positions?
> 
How about:
following-sibling::*[position() &lt 3][local-name()='ead']

Cheers -- Marc 


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


Current Thread