Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re: Perl and XPath.

by duckyd (Hermit)
on Jan 06, 2007 at 01:09 UTC ( [id://593247] : note . print w/replies, xml ) Need Help??


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