posted 18 years ago
allnodes will successively point to the home, ssn and phone elements. But the values you want actually ARE child nodes of those. If you look at the javadocs for the Node interface, you'll see that its value is defined to be null for elements. Without the normalization -which you are doing- there could even be several child text nodes.
[ November 24, 2005: Message edited by: Ulf Dittmer ]