Using xalan Java 2.5.2, I get two HTML DOCTYPE declarations when using a code like that: <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0" xmlns:xalanredirect="http://xml.apache.org/xalan/redirect" extension-element-prefixes="xalanredirect"> <xsl:output method="html" indent="yes" doctype-public="-//W3C//DTD HTML 4.01 Transitional//EN" encoding="ISO-8859-1"/>
[...] <xalanredirect:write select="'example.html'"> <html> [...] </html> </xalanredirect:write> anybody knows of a workaround or a different version of xalan to use to avoid this bug ?
