You should get familar with the table in the org.w3c.dom.Node interface JavaDocs.
It shows what various Node types have for nodeValue and nodeName - sometimes surprising.
Author and all-around good cowpoke
Joined: Mar 22, 2000
I suggest your next step in learning XML processing with the Java standard library would be to
print the count of nodes in the childNodes NodeList, then iterate printing the nodeName and
nodeValue for each.
This should show what the call to getChildNodes() is actually returning.