http://qs321.pair.com?node_id=593247


in reply to Perl and XPath.

use getNodeValue:
foreach my $node ($nodeset->get_nodelist) { print $node->getNodeValue, "\n\n"; }
See perldoc XML::XPath::Node::Attribute