use XML::DOM::XPath; my $parser= XML::DOM::Parser->new(); my $doc = $parser->parsefile ("file.xml"); my @nodes = $doc->findnodes( '/Parameter/Value/Item' ); foreach (@nodes) { print $_->getAttribute( 'Value') . "\n"; }
In reply to Re: XPATH and perl
by jbt
in thread XPATH and perl
by yorozen
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |