johnnytc4 has asked for the wisdom of the Perl Monks concerning the following question:
my $xs1 = XML::Simple->new(NoAttr=>1,KeepRoot=>1,NormaliseSpace=>1 ); my $xml_data = $xs1->parse_file($xml_path); #print Dumper($xml_data);
Example Original XML
<BILLING> <ACCOUNT></ACCOUNT> <RTN></RTN> </BILLING>
Example Outputed XML
<BILLING> <name>ACCOUNT</name> <name>RTN</name> </BILLING>
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: XML Simple not keeping same structure on xmlout()
by ikegami (Patriarch) on Apr 20, 2011 at 16:09 UTC | |
by mikeraz (Friar) on Apr 20, 2011 at 16:15 UTC | |
by johnnytc4 (Novice) on Apr 20, 2011 at 17:07 UTC | |
by ikegami (Patriarch) on Apr 20, 2011 at 17:50 UTC | |
by johnnytc4 (Novice) on Apr 20, 2011 at 18:25 UTC | |
by ikegami (Patriarch) on Apr 20, 2011 at 20:14 UTC | |
by johnnytc4 (Novice) on Apr 21, 2011 at 15:17 UTC |