for my $emp (@myEmpNodes) { my @names = $emp->findnodes('oos:EmpName'); for my $name (@names) { print "\nEmp: ", $name->getAttribute('id'), "\n"; print $name->textContent, "\n"; } }
In reply to Re: Getting the values from XML using XPATH
by tangent
in thread Getting the values from XML using XPATH
by perlDevsWorld
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |