Link to home
Start Free TrialLog in
Avatar of sangameshrh
sangameshrh

asked on

Skipping node in XML using Xerces in java

Hi,

   I am using Xerces for XML processing, i wanted to know how to skip a particular node or child node in a xml document.
for eg.
<a>
<p><hw>element1</hw><def></def></p>
<p><hw>element1</hw><def></def></p>
<p><hw>element1</hw><def></def></p>
<p><sn>element1</sn><def></def></p>
<p><hw>element1</hw><def></def></p>
</a>

in the above scenario, i want to only parse hw but not sn how to do it.....
ASKER CERTIFIED SOLUTION
Avatar of Mick Barry
Mick Barry
Flag of Australia image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Forced accept.

Computer101
EE Admin