Tuesday, May 7, 2013

W3C DOM Parser

W3C DOM Parser

We can use both jdom as well as w3c dom. In this I am going to explain about w3c dom.


Getting the document on w3c dom.



Some common function for Dom processing


We can specify the xpath value to get the specific tag/ Node.


From other resource example (stackoverflow),

Getting all the tags called "sites" and getting child node value using getTagValue common method.




Happy Coding :)

No comments:

Post a Comment