Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

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

by mirod (Canon)
on Feb 12, 2005 at 15:19 UTC ( #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? | Other CB clients
Other Users?
Others musing on the Monastery: (4)
As of 2023-06-05 10:49 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    How often do you go to conferences?






    Results (24 votes). Check out past polls.

    Notices?