public Boolean hasChild(Node node){因为有空格所以getChildNodes都会有值NodeList nodeList = ()if(()<2){return false}else{return true}}Created with an evaluation copy of . To discover the full versions of our AP