Scarborough has asked for the wisdom of the Perl Monks concerning the following question:
There are about 530 of these jobs and XMLin($file) reads them into my hash just fine. I then find which are due today and write a script file to run todays jobs. This works just fine but we are moving to a .NET enviroment and I've been tasked with making an XML file of todays jobs. Fine I think just copy elements of the hash returned by XMLin($file) that I need and pass it to XMLout. But not as easy as that I get<jobs> <job name="XYZ.pl"> <lang>Perl</lang> <runs>MON</runs> <parameters> <op SERVICE="REPORTS"/> <op USER="NEON"/> </parameters> </job> .... </jobs>
Can anyone see an obvious answer, I'm not keen on the idea of changing the format of the XML as the rest of the code works well.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Problem with XMLout
by gellyfish (Monsignor) on Jun 28, 2004 at 14:35 UTC | |
by Scarborough (Hermit) on Jun 28, 2004 at 14:43 UTC | |
by The Mad Hatter (Priest) on Jun 28, 2004 at 14:51 UTC |