While googling around to find a list of WoW enchants in XML, I stumbled over Rawr, an application that is designed to help optimize your gear. Here's the description from the site.
Rawr is a program for comparing and exploring gear for Bears, Cats, Moonkin, Warlocks, Mages, Retadins, ProtWarriors, and Healadins, in the MMORPG, World of Warcraft. It is currently in public beta testing, and is being developed by by Astrylian, of US-Eonar. Rawr has been designed from the start to be fun to use, and helpful in finding better combinations of gear, and what gear to find.
It's a Windows app, written in C# for .NET, and at least marginally works in OS X using the Mono project (and, therefore, I assume, Linux). I've played around with it a bit, but have yet to be particularly impressed with its "Moonkin model". The upgrades seem to be all about upping damage without any real consideration for anything else. They should call the model "Clothkin," because that's what you end up with for upgrades. Oh well.
Still, it remains in development, is open source, and I suppose I could get in there and write a Panzerkin model... Might be worth your checking it out, so I thought I'd pass it along!