I was working on some reporting stuff and thought I had an issue where I needed to have elements instead of attributes. I found that the following XSLT would do that conversion for me.
Turns out that I didn't need it, but I figured it would be handy to keep around.