Added "getNodeType()" method to XMLNode