I want to parse the following url: http://eutils.ncbi.nlm.nih.gov/entrez/eutils/esummary.fcgi?db=nucleotide&id=224589801
As a result I came up with the following met
Text value that is surrounded by XML tag are also considered as Node in DOM. That's why you have to get the text Node before getting the value. If you try to count the number of node in an , you will see that whenever there is a text, there is a node.
XOM has more intuitive interface but it doesn't have org.w3c.dom.* interface.
If you want to use the build-in parser, you should look at http://www.java-samples.com/showtutorial.php?tutorialid=152
The DOMParser you tried to use are propriety and it's not portable.