in reply to Which XML parser for this type of xml queries

I saved your xml to a file called example.xml and was able to use XML::Simple to parse it w/o any problem:
$ perl -MData::Dumper -MXML::Simple -e 'print Dumper XMLin(q{example.x +ml});' $VAR1 = { 'objects' => { 'object' => { 'cur_date' => {}, 'cur_time' => {}, 'ecl_couloir' => {} } } };
My guess is that you really do have some garbage at the end of your document - have you printed it out with, say, single quotes around it so that you'd me more likely to spot something funny? I.E.
print "xml content: '$xml'\n";

Replies are listed 'Best First'.
Re^2: Which XML parser for this type of xml queries
by Anonymous Monk on Dec 07, 2008 at 00:19 UTC
    Thanks for the tip. I've chopped last character and now it works. But I'm still curious why is read not present in hash presentation ? It's crucial for my parsing...

    Regards,

    Rob.