This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
Take a look at this Xpath symbol and the applied result that follows :-
<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..!
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