in reply to XMLSimple XMLout, formatting output
Update: Yup.
use strict; use warnings; use XML::Simple qw( ); my $xml = <<'__EOI__'; <doc> <Last>Smith</Last> <First>First</First> </doc> __EOI__ my $xs = XML::Simple->new( ForceContent => 1, ); print( $xs->XMLout( $xs->XMLin($xml) ) );
<opt> <First>First</First> <Last>Smith</Last> </opt>
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: XMLSimple XMLout, formatting output
by Rodster001 (Pilgrim) on Apr 01, 2009 at 20:10 UTC | |
by ikegami (Patriarch) on Apr 01, 2009 at 20:58 UTC | |
by Rodster001 (Pilgrim) on Apr 01, 2009 at 21:16 UTC | |
by ikegami (Patriarch) on Apr 01, 2009 at 21:17 UTC | |
by Rodster001 (Pilgrim) on Apr 01, 2009 at 21:26 UTC |