my $nodeset = $xp->find('/database/select/row/bar'); print $_->string_value, "\n" for $nodeset->get_nodelist;