This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

RE: xpath expression needed


 
> 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]