Hello Monks
i am a newbie to perl
I have one requirement in which i need to process data from the database and then want to write it in a XML file.
- processed data will be in a data structure (hash ref, array ref etc)
- size of data is hugh
- want the best performamce while writing this data into xml file
- do not want to read this xml file back in a data structure
- As i am creating this application from scratch i can design the structure of my processed data keeping in mind of the good writing performance
- below is an example of the output xml file
Sample output XML file
<EMPLOYEES>
<EMPLOYEE ID="1">
<NAME>John Wright</NAME>
<AGE>45</AGE>
<DEPARTMENT>Sales</DEPARTMENT>
</EMPLOYEE>
<EMPLOYEE ID="2">
<NAME>Peter Rob</NAME>
<AGE>30</AGE>
<DEPARTMENT>HR</DEPARTMENT>
</EMPLOYEE>
</EMPLOYEES>
As there are many XML modules to do this task and need your expert advice for this problem
XML::Simple
XML::Twig
XML::Bare etc
which one to use?