$xpc = xpath_new_context($dom1);
$nodeshotel = xpath_eval($xpc, "//result[hotel_id ='$hotel_param']/block");
$nodeset = $nodeshotel->nodeset;

come posso fare per capire se il nodeset ha dei risultati ?
grazie.