I have one node in xml file
<abc>
</abc>
if i try to get element abc's child
I m geeting </abc>
as result but it must be "null"
I m using Saxparser in java
I have one node in xml file
<abc>
</abc>
if i try to get element abc's child
I m geeting </abc>
as result but it must be "null"
I m using Saxparser in java
DOM Parser loads the whole XML file in its loader. Hence DOM Parser will allow you to check the childnodes of a given node from your given xml.
SAX Parser reads the xml line by line so checking the child node for a given node wont be possible.
For ur reference: What is the difference between SAX and DOM?