| Author |
Xpath Requirement help!!
|
manj ananda
Greenhorn
Joined: Jun 14, 2001
Posts: 16
|
|
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..!
|
SCJP2, IBM XMLC, SCWCD
|
 |
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? regds.  - satya
|
Take a Minute, Donate an Hour, Change a Life
http://www.ashanet.org/workanhour/2006/?r=Javaranch_ML&a=81
|
 |
manj ananda
Greenhorn
Joined: Jun 14, 2001
Posts: 16
|
|
thanks, yea! that was up to my expectation
|
 |
 |
|
|
subject: Xpath Requirement help!!
|
|
|