jq is an awesome utility for parsing and transforming json via the command line. I wanted something similar for xml. The following is a short ruby script which does a tiny tiny (did I say tiny?) bit of what jq does for xml. Hope you find it useful.
I am currently working on LiveForm which makes setting up contact forms on your website a breeze.