Win a copy of Murach's Python Programming this week in the Jython/Python forum!
    Bookmark Topic Watch Topic
  • New Topic

DOM issue  RSS feed

 
sanjay nitwal
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
  • Report post to moderator
<ABC>
<emp>
<address>
<STATE>UP</STATE>
<CITY>NOIDA</CITY>
</ADDRESS>
</EMP>
<emp>
<address>
<STATE></STATE>
<CITY>NON</CITY>
</ADDRESS>
</EMP>
</ABC>

HOW CAN I WRITE A PROGRAMM USING DOM PARSER TO READ THIS XML
 
Ulf Dittmer
Rancher
Posts: 42970
73
  • Mark post as helpful
  • send pies
  • Report post to moderator
The code you posted in parsing xml string using java dom uses DOM to parse XML. If you have questions about that, then you should post follow-ups in that topic.
 
It is sorta covered in the JavaRanch Style Guide.
    Bookmark Topic Watch Topic
  • New Topic
Boost this thread!