Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Xpath Requirement help!!

 
manj ananda
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Take a look at this Xpath symbol and the applied result that follows :-

//GGG/following::*

<AAA>
<BBB>
<CCC/>
<ZZZ/>
</BBB>
<XXX>
<DDD>
<EEE/>
<FFF>
<HHH/>
<GGG>
<JJJ>
<QQQ/>
</JJJ>
<JJJ/>
</GGG>
<HHH/> </FFF>
</DDD>
</XXX>
<CCC>
<DDD/>
</CCC>

</AAA>
</pre>
Now i am not justified with the axis -"following",
Can anyone help me out there, Ajith again..!
 
Madhav Lakkapragada
Ranch Hand
Posts: 5040
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

IHMO, I would read this as follows:
Select all nodes following the node GGG
Hence the output would be:
<HHH>, <CCC> and <DDD> nodes since they start
after (follow) <GGG> ends.
Did I understand the qstn correctly or am I
missing something?
regds.
- satya
 
manj ananda
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
thanks,
yea! that was up to my expectation
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic