in reply to Re: Re: XML package for parsing values in the opening tag.
in thread XML package for parsing values in the opening tag.
print $xml->{_City} ;
If you use XML::Smart it has an option to load a XML and parse all the nodes and attributes in upercase or lowercase:
Output:use XML::Smart ; my $xml = XML::Smart->new(q`<USER _City="testboro"></USER>` , uperta +g=>1 , uperarg=>1); print $xml->dump_tree_ok ;
$VAR1 = { 'USER' => { '_CITY' => 'testboro' } };
Graciliano M. P.
"Creativity is the expression of the liberty".
|
|---|