Hi
Java Ranch,
While going through some requirements
doc i came to know that i have to parse an xml which has not even having a parent node.
First of all i was wondering that can we define any xml without having a parent node?
Irrespective of the rules for writing the xml i thought of trying and written a method which takes an xmlstring as input and gives map as output.
Below is my method snippet
and my xml which has to be parsed looks like this.
but even i try to execute the method i am getting the response as expected which is
can anyone help me in parsing the xml, and let me know the mistake i was doing.