String xml = '' + "\n"+ ''+"\n"+ ' '+"\n"+ ' 40'+"\n"+ ' -90'+"\n"+ ' '+"\n"+ ''; XML root = XML.parse(xml); String ref1 = ''+ '40'+ '-90'+ ''; _checkEqual(root.getChild("geo:Point"), ref1), _checkIsNull(root.getChild("Point")); String ref2 = '40'; _checkEqual(root.getChild("geo:Point/geo:lat"), ref2); _checkIsNull(root.getChild("Point/lat"));