jeanluca has asked for the wisdom of the Perl Monks concerning the following question:
This is the code that should do it:<ABC> <A1> <01>100</01> </A1> </ABC>
The result I get running this scrupt is#! /usr/bin/perl use XML::Simple ; use strict ; use warnings ; my $obj = XML::Simple->new() ; my $xml = $obj->XMLin("fl.xml") ;
I noticed that the error message disapeared when I changed <01> to <xx>not well-formed (invalid token) at line 3, column 5, byte 18 at /usr/l +ib/perl5/vendor_perl/5.8.2/i686-linux/XML/Parser.pm line 187
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: XML::Simple cannot parse Simple XML file
by Corion (Patriarch) on Jun 13, 2006 at 08:49 UTC | |
by syphilis (Archbishop) on Jun 13, 2006 at 10:43 UTC | |
by davorg (Chancellor) on Jun 13, 2006 at 10:49 UTC | |
|
Re: XML::Simple cannot parse Simple XML file
by rblasch (Monk) on Jun 13, 2006 at 09:52 UTC | |
| A reply falls below the community's threshold of quality. You may see it by logging in. |