Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re: Convert CSV to XML

by tangent (Vicar)
on May 20, 2016 at 12:44 UTC ( #1163625=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    @rows = (
        {
    ...
            Col5 => 'Toll road INC',
        },
    );
    
  2. or download this
    my $params = { rows => \@rows };
    my $template = Template->new;
    $template->process('template.xml', $params, 'output.xml');
    
  3. or download this
    <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
    <Import>
    ...
        </record>
    [% END %]
    </Import>
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (6)
As of 2019-07-17 22:33 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?