in reply to Convert CSV to XML
If you have the XSD of the taget XML, I recommend XML::Writer XML::Compile. You have to mush your input data into the data structure corresponding to the output XML data, but that's all you have to do. XML::Writer will then create the appropriate XML from the XSD and your data structure.
I've also had good experience in creating a template using HTML::Template(::Compiled) and filling in the data from a flat datastructure, but that really depends on the output XML format.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: Convert CSV to XML
by andreas1234567 (Vicar) on May 20, 2016 at 08:51 UTC | |
by Corion (Patriarch) on May 20, 2016 at 08:55 UTC |
In Section
Seekers of Perl Wisdom