Script Debugger provides everything you need to quickly and easily author AppleScripts that work.
Integrated Perl editing and debugging environment for Mac OS X.
Parse XML data file generate a complete DOM-like structure.