RE: [xsl] xpath expression needed

Subject: RE: [xsl] xpath expression needed
From: "Michael Kay" <mhkay@xxxxxxxxxxxx>
Date: Fri, 21 Sep 2001 08:23:06 +0100
 
> I want to get all the occurrences of "field1" whose first 
> following-sibling
> "field2" has a value = "some". In this case it should return me 2nodes
> (except the last one, where the value would be "someother")
> 
> Hope I am clear.
> 
Very clear indeed!

//field1[following-sibling::field2[1]='some']

Mike Kay 

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


Current Thread