For the Mavericks project, I get to manually "fix" several large xml documents that are spit out of a couple of piped legacy databases and content management systems. Each time a file is exported, it is slightly different, and after the file is handed off to me I get to go in and manually massage the distressed bits so I can use it in a meaningful way.

Until now, that meant going in and doing the tweaks by hand - fixing stupid MS Word quotes and dashes and stuff, and replacing some crazy legacy-induced formatting tags etc... I'd occasionally miss something, or do what comes naturally to a mundane repetitive manual process - screw it up.

But, BBEdit 8.2 now has a boatload of handy Automator actions, and it looks like I can now trivially automate this tedious task. Here's what the workflow looks like:

BBEdit + Automator