in reply to excel to xml conversion and then comparison with another XML
If you like to test your script output, which is a noble thing, then I would code the reference XML either by hand or take a more standard tool for it then Excel.
You can compare both XML like you said. I would use XML::Simple to read both XML files into separate hashes which can that be compared. Test::More gives you the function is_deeply to do this, but I'm not sure if you can easily use it in a non-Test Perl script. On the other hand your script is basically one.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: excel to xml conversion and then comparison with another XML
by Anonymous Monk on Apr 24, 2008 at 09:08 UTC | |
by mscharrer (Hermit) on Apr 24, 2008 at 11:59 UTC |