File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes XML and Related Technologies and the fly likes Xpath Requirement help!! Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » XML and Related Technologies
Bookmark "Xpath Requirement help!!" Watch "Xpath Requirement help!!" New topic

Xpath Requirement help!!

manj ananda

Joined: Jun 14, 2001
Posts: 16
Take a look at this Xpath symbol and the applied result that follows :-


<HHH/> </FFF>

Now i am not justified with the axis -"following",
Can anyone help me out there, Ajith again..!

Madhav Lakkapragada
Ranch Hand

Joined: Jun 03, 2000
Posts: 5040

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?
- satya

Take a Minute, Donate an Hour, Change a Life
manj ananda

Joined: Jun 14, 2001
Posts: 16
yea! that was up to my expectation
I agree. Here's the link:
subject: Xpath Requirement help!!
It's not a secret anymore!