Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

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

by tobias_hofer (Friar)
on Jun 14, 2013 at 12:08 UTC ( #1038950=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    $tdata->{'TABLE-CAPTION'} = {'ID' => $_id, 'LONG-NAME' => {content => 
    +'Test results'}};
    
  2. or download this
        my $xmlParser  = new XML::Simple(
        RootName => 'TABLE',
        KeepRoot=>1,
    ...
            'TABLE-CAPTION' => 'ID',
            'ContentKey' => 'content',
        }
    
  3. or download this
    P>Testresults:</P><TABLE>
      <TABLE-CAPTION ID="ID42.401123046875">
    ...
          <ROW>
            <ENTRY COLNAME="test-id">
    ...
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (9)
As of 2014-11-26 21:48 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My preferred Perl binaries come from:














    Results (174 votes), past polls