Computers are dumb. Their users can be dumber.
All of those things that took hours or days (and normally end with a "Doh!") but really should have taken five minutes or been immediately resolved by a quick google....
Well this is a place to record them for the next fool. If you google like I google: welcome to your solution.
Fool! Next time, remember not to put an xsl:value-of in a template that matches an element, or you end up with the concatenated text of all the element's sub-nodes in your output document. (Unless that's what you want, of course...)