Hi All,
Thanks for replying for previous questions.
How can we read XML file using DOM parser in java.We have already searched in Google but we are unable to find the solution.please provide me the solution .
we are able to read below example
<staff>
<firstname>yong</firstname>
<lastname>mook kim</lastname>
<nickname>mkyong</nickname>
<salary>100000</salary>
</staff>
WE ARE Unable to Read the below XML TAG
for example :
<ReportItem port="21" svc_name="ftp" protocol="tcp" severity="0" pluginID="0" pluginName="" pluginFamily="" />
<ReportItem port="22" svc_name="ssh" protocol="tcp" severity="0" pluginID="0" pluginName="" pluginFamily="" />
<ReportItem port="7938" svc_name="unknown" protocol="tcp" severity="0" pluginID="0" pluginName="" pluginFamily="" />
please provide us to solution.we are trying
alot