I tried something like this:
This puts everything in same one line and not yet included the ID's though. Appreciate your help in advancemy $context = XML::LibXML::XPathContext->new( $dom->documentElement() + ); my @myEmpNodes = $context->findnodes("//oos:EmpDetailsResponse"); foreach $emp (@myEmpNodes) { print "\nEmp:\n", $emp->findvalue('//oos:EmpName'). "\n";
In reply to Re: Getting the values from XML using XPATH
by perlDevsWorld
in thread Getting the values from XML using XPATH
by perlDevsWorld
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |