Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re: Formatting in XML::Twig->print()

by mirod (Canon)
on Feb 12, 2005 at 15:19 UTC ( [id://430413]=note: print w/replies, xml ) Need Help??


in reply to Formatting in XML::Twig->print()

I can't reproduce this behaviour with the latest XML::Twig. The XML looksproperly indented. Which version are you using? If it is a recent one (3.10+), could you please post a minimal test that I could run? Thanks

Just as a side note, you can write $ps->insert_new_elt( Server => { Name => "New_1"}); instead of $ps->insert_new_elt("Server")->set_att('Name', "New_1");.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others imbibing at the Monastery: (4)
As of 2024-03-29 09:29 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found