thelordoftherings
Programmer
Hello,
I am trying to use DOM in order to receive an XML's Node value using this syntax:
String theDate = currentNode.getFirstChild().getNodeValue();
Now, although the node value is not empty I recveive null. Why is that? By that way, when I get it's Name I receive the name, so why is the value null when I know it is not?
I am trying to use DOM in order to receive an XML's Node value using this syntax:
String theDate = currentNode.getFirstChild().getNodeValue();
Now, although the node value is not empty I recveive null. Why is that? By that way, when I get it's Name I receive the name, so why is the value null when I know it is not?