use XML::XPath; my $xp = XML::XPath->new(ioref => \*DATA); my $nodeset = $xp->find('/track/el/attribute[@name="type"]/text()'); # foreach my $node ($nodeset->get_nodelist) { print "FOUND\n\n", $node->getValue, "\n\n"; }
In reply to Re: XML::DOM help
by pc88mxer
in thread XML::DOM help
by huiling
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |