Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
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 browsing the Monastery: (16)
As of 2015-07-29 15:02 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (263 votes), past polls