Relevant, re: parsing XML:
I always recommend using a real XML parser for XML but I understand why quick and dirty is appealing (and I have occasionally committed this sin myself when I'm in a hurry).
I'd recommend using an XML parsing module in a scripting language like Perl, Python, Ruby, etc. if you plan to rely on this tool for anything "production-y".
I like quick & dirty.....
But you do have a point!
I will need to learn how to interface Avamar's API's....
good luck to me