hakana has asked for the wisdom of the Perl Monks concerning the following question:
To produce the following xml file:<exec> <tc id=""></tc> </exec>
The first <dut> will only be added once but there will be severeal instances of <tc> and every <tc> will have one or more <ts> What I got so far is that I have to start read the existing xml file. But wondering how I best insert the data to the xml file? And how often should the xml file be saved?<exec> <dut mac="" ip="" model="" firmware=""/> <tc id="" version="" date="" desription/objective=""> <ts id="" desription="" date="" expected_result="" result=""/> </tc> </exec>
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: XML::Simple add
by andreas1234567 (Vicar) on Nov 26, 2007 at 09:03 UTC | |
by hakana (Acolyte) on Nov 28, 2007 at 08:28 UTC | |
Re: XML::Simple add
by strat (Canon) on Nov 27, 2007 at 07:53 UTC |