Check out the noattr option to XMLout:
% perl -w use XML::Simple; $xml = XMLin("pre.xml"); $xml->{core}->{test} = 'testeroo'; print XMLout($xml, noattr => 1); ^D <opt> <core> <test>testeroo</test> <variable>ere</variable> </core> </opt> <
Update: You may also be interested in the rootname => 'config' option.
In reply to Re: XML::Simple Output
by Chmrr
in thread XML::Simple Output
by batkins
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |