Because the outermost element of your result document is <html>, the system defaults to using the HTML output method. If you want the XML output method to be used, specify <xsl:output method="xml"/>.
Michael Kay
http://www.saxonica.com/
Author, XSLT Programmer's Reference and XPath 2.0 Programmer's Reference