Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re: XML::Simple how do i keep the same xml format (Values and Attributs)?

by hdb (Monsignor)
on Jun 14, 2013 at 11:01 UTC ( [id://1038945]=note: print w/replies, xml ) Need Help??


in reply to XML::Simple how do i keep the same xml format (Values and Attributs)?

There is also NoAttr => 1 in XML::Simple but that goes into the other extreme.

Replies are listed 'Best First'.
Re^2: XML::Simple how do i keep the same xml format (Values and Attributs)?
by jakeease (Friar) on Jun 15, 2013 at 08:45 UTC

    I had occasion to use both the OP's solution and NoAttr => 1 on a project where rewriting existing XML::Simple to use a different module wasn't an option.

    When writing new modules for the project, I used XML::Twig or XML::LibXML. Didn't know about XML::Rules; I'll have to check it out.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others sharing their wisdom with the Monastery: (6)
As of 2024-04-23 14:25 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found