Embed doctype in an xslt document for outputting xhtml

Finally found a way to correctly output xhtml with a valid doctype, thanks to: http://www.stylusstudio.com/xsllist/200402/post90170.html

<xsl:output method="xml" indent="yes" encoding="UTF-8" omit-xml-declaration="yes" doctype-public="-//W3C//DTD XHTML 1.0 Transitional//EN"/>