Hammy has asked for the wisdom of the Perl Monks concerning the following question:
<?xml version="1.0" encoding="ISO-8859-1"?> <mytag> <mytag.ack errors="0" responses="1"> <mytag.response>User data updated for ID: 545454545</mytag.respons +e> </mytag.ack> </mytag>
The blocks above are stored in a variable called $result that gets returned from a 3rd party's soap service.<?xml version="1.0"?> <mytag> <mytag.ack errors="0" responses="1"> <mytag.response>User data updated for ID: 545454545</mytag.respons +e> </mytag.ack> </mytag>
Thanks in advance for whatever guidance you can offer. - Markmy $xs = new XML::Simple(keeproot => 1); my $XMLref = $xs->XMLin($result, suppressempty => '');
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: XMLin() hangs with encoding="ISO-8859-1"
by Joost (Canon) on Sep 14, 2006 at 19:17 UTC | |
by Hammy (Scribe) on Sep 15, 2006 at 01:36 UTC |