I tried the xml method and right away my browser choked on it's first empty <textarea/>  I've got to get the xhtml method working... and I think I'm just going to have to add the xmlns="http://www.w3.org/1999/xhtml" attribute in a lot of places..
Why not add it on the xsl:stylesheet element?
 
Michael Kay
http://www.saxonica.com/