Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re: CSV to XML

by tangent (Parson)
on May 07, 2021 at 20:25 UTC ( [id://11132240]=note: print w/replies, xml ) Need Help??


in reply to CSV to XML

I have done similar to this many times and my experience has been that while you should use the Text::CSV module to parse the CSV file input, the XML output is best produced within your script rather than trying to use one of the XML modules to write it.

If you can show us some of the CSV file you will be using I can give you an example script. Please ensure that you obscure any personal information.

Replies are listed 'Best First'.
Re^2: CSV to XML
by Anonymous Monk on May 07, 2021 at 20:29 UTC
    the XML output is best produced within your script rather than trying to use one of the XML modules to write it.

    No.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others examining the Monastery: (9)
As of 2024-04-19 06:56 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found