I am wanting to write something that can parse an xml file. The file I want to read is in the format of:
data I want to read
System.out.println("Root element " + doc.getDocumentElement().getNodeName());
Gives the output:
Root element container
I was expecting:
Root element root
Can someone please point me in the right direction.