foreach my $node ($nodeset->get_nodelist) { print $node->getNodeValue, "\n\n"; }