[xml] XPath result xmlNode position


is it possible to find the position of a xmlNode as would be seen by xpath?

i have a long xml document of the format

 <b t=1 v=a/>
 <b t=2 v=b/>
 <b t=3 v=c/>
 <b t=4 v=d/>
 <b t=2 v=e/>
 <b t=5 v=f/>
 <b t=2 v=g/>

xpath expression is "/a/b[ t=2][position()>X]" where X is the position of the 1st entry where t=2
how do i find X from xmlNode in C?


It's fast, it's easy and it's free. Get MSN Messenger today! http://www.msn.co.uk/messenger

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]