Yes the xml was badly formed I copied a long string and just pasted a few rows as an example. Thanks for your help.my $xml = 'XML::LibXML'->load_xml(string => $response_xml); for my $username ($xml->findnodes('//username')) { print $username->textContent, "\n"; }
In reply to Re^2: Parsing xml
by alexsc01
in thread Parsing xml
by alexsc01
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |