December 27, 2011

XML parsing in java

There are various ways to parse a xml file . The most basic approach is dom parsin.
Apart from that we can use other parsers like
1. Sax parser
2. Stax parser
3. VTD xml parser.

Apart from that we can also user xpath to navigate to different xml nodes.

DOM parsing:

No comments:

Post a Comment