Element nodes don't have a value. I'm not very familiar with the Java implementation of the XML dom api but I would imagine that to get the value of an attribute (attribute nodes do have a value) then you would write:
Code:
System.out.println("UNAME: " + firstPersonNode.getAttribute("UNAME"));
--
Joe (Co-author Beginning XML, 3rd edition)