On 10/2/07, Steven Sim <[EMAIL PROTECTED]> wrote: > I've successfully written a Perl script to create a specific XML file. > > The problem comes when I attempt to run the script again and append XML > entries onto the XML file. > > Using XML::Writer, I am unable to perform a proper append. (The append > IO is successful but it breaks the XML syntax.)
XML syntax is such that, once a file is complete, more data can't be appended. The general solution is to write a new XML file that includes everything you need, then replace the old file with the new one. Hope this helps! --Tom Phoenix Stonehenge Perl Training -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/