Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re: XML format help

by IraTarball (Monk)
on Aug 22, 2001 at 00:56 UTC ( [id://106774]=note: print w/replies, xml ) Need Help??


in reply to XML format help

You should read up on the options for XML::Simple I think what's tripping you you up is the keyattr option. This defaults to name but you probably want it set to the empty string. You might also check out Data::Dumper to view the data structures that XML::Simple creates.

I've been using XML::Simple for reading in and writing out config files without any unwanted changes to the xml file so I'm pretty sure it will do what you want.

Hope this helps,
Ira,

"So... What do all these little arrows mean?"
~unknown

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://106774]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others chilling in the Monastery: (3)
As of 2024-03-29 05:52 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found