johnnywang has asked for the wisdom of the Perl Monks concerning the following question:
tends to give me (I did try setting a few options):<config ip="127.0.0.1" port="12345"> <timeout>1000</timeout> </config>
When I need to share the configuration structure with another application, this can become a problem.<config ip="127.0.0.1" port="12345" timeout="1000"/>
So is there a simple way to set the options (or some other means) with XML::Simple that can make sure the in-out round trip gives exactly the same structure?
Thanks
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Keeping XML structure with XML::Simple
by hbo (Monk) on Jul 21, 2004 at 04:44 UTC | |
|
Re: Keeping XML structure with XML::Simple
by pg (Canon) on Jul 21, 2004 at 07:11 UTC | |
by chazzz (Pilgrim) on Jul 21, 2004 at 12:43 UTC | |
by johnnywang (Priest) on Jul 21, 2004 at 16:44 UTC | |
|
Re: Keeping XML structure with XML::Simple
by graff (Chancellor) on Jul 21, 2004 at 06:01 UTC |