Originally I intended this for use with just grabbing what is in Query Analyzer and making an XML file out of it. It works well enough now that use it for alot of other tasks too.
I had to get pretty elaborate in the way it does a few things, so I put them in varibles at the top that you can change to the way you like things to be. Just getting stuff from the clipboard in a VS Macro is really bizarre.
Pasting didn't work in an XML document because it just did wierd things and was really
Copyright © 2003-2009 H. Steele Price, IV -
All opinions are my own, not necessarily those of my employer, your mother, or any government agency.