Okay, I've tried to do this myself by picking through some tutorials and reading around - no doubt I will go back and re-read them more thoroughly now! However this one thing I don't understand is why this doesn't work :
NodeList fileName = fileElement.getElementsByTagName("FileName");
Element fileNameElement = (Element)fileName.item(0);
System.out.println("File Name : " + ((Node)fileName.item(0)).getNodeValue());
Line 3 just prints "Null";
Line 4 prints "<FileName>Test</FileName>"
So what I'm wondering is what I've done wrong on Line 3. I was expecting it to print "Test" but obviously that was very naive of me :)
So, please - put me out of my misery! lol