The code is

Node codeiso3= node.selectSingleNode("isoAlpha3");
Node capital= node.selectSingleNode("capital");
...