more useful options | |
PerlMonks |
XML::Writer error messageby vinoth.ree (Monsignor) |
on Jul 07, 2009 at 06:26 UTC ( [id://777753]=perlquestion: print w/replies, xml ) | Need Help?? |
vinoth.ree has asked for the wisdom of the Perl Monks concerning the following question: I stared to learn XML::Writer and XML::Reader
In this above code I was using the XML::Writer to generate the XML file like below for each employee. <name>XXXX</name> <emp_no>XXXX<emp_no> <designation>XXX<designation> <salary>XXXX<salary>
When I execute the above code it says error message, Attempt to insert start tag after close of document element at Write_to_XML.pl line 47 If I use the endTag after the foreach loop I won't get XML file with all employee, I get only first employee details in the XML file.
Back to
Seekers of Perl Wisdom
|
|