lucdewav has asked for the wisdom of the Perl Monks concerning the following question:
Thanks, Lucuse XML::DOM; my $parser = new XML::DOM::Parser; my $xmlstring="<?xml version='1\.0'?> <ACTION> <INPUT LABEL=\"Radio Button\"/> <INPUT LABEL=\"été\"/> <RADIO ID=\"List\"> éééàààùùù</RADIO> </ACTION>"; my $doc; eval { $doc = $parser->parse($xmlstring); }; if ($@) { die "ERROR : $@\n"; } print $doc->toString;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: XML::Parser multilanguage support
by OeufMayo (Curate) on Jul 07, 2001 at 13:45 UTC | |
by lucdewav (Initiate) on Jul 08, 2001 at 14:11 UTC |