Removing <?xml version="1.0"?> from the output of XSLTProcessor->transformToXml()
<xsl:output method="html" />
Thanks to this post on php.net for the answer:
http://us3.php.net/manual/en/xsltprocessor.transformtoxml.php#80887
Snippets is a public source code repository. Easily build up your personal collection of code snippets, categorize them with tags / keywords, and share them with the world (or not, you can keep them private!)
<xsl:output method="html" />