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

XML::Simple attribute indentation not working

by Popcorn Dave (Abbot)
on Sep 23, 2007 at 05:37 UTC ( [id://640567]=perlquestion: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    open FH, ">", "webcams.xml";
    print FH XMLout($combined, KeyAttr => {AttrIndent => 1,
                                xmldecl => '<?xml version="1.0" encoding="
    +UTF-8"?>',});
    close FH;
    
  2. or download this
    <opt class="java.beans.XMLDecoder" version="1.6.0-oem">
      <object class="java.util.HashSet">
    ...
        <void method="add" string="football" />
      </object>
    </opt>
    
  3. or download this
    <java version="1.6.0_02" class="java.beans.XMLDecoder"> 
     <object class="java.util.HashSet"> 
    ...
      </void> 
     </object>
    </java>
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others admiring the Monastery: (5)
As of 2024-04-25 12:59 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found