Is there a simple XML module that can assist with the creation of such an XML documentSuch as XML::Simple?
use XML::Simple; my $data = { dataset => { row => { column1 => ["value"], column2 => ["value"], column3 => ["value"] }, }, }; print XMLout($data, KeepRoot => 1); __output__ <dataset> <row> <column1>value</column1> <column2>value</column2> <column3>value</column3> </row> </dataset>
_________
broquaint
In reply to Re: Converting a data structure to XML
by broquaint
in thread Converting a data structure to XML
by Tanalis
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |