Re: "Canonical" HTML5 and XHTML5 output

On 7/24/07, Robert Burns <rob@robburns.com> wrote:
>  You can simply transform nothing
> except reduced the DocType down to "<!DOCTYPE HTML >". XSLT output to
> HTML with the same DocType would also be sufficient.

It was pointed out to me that you can use <xsl:text
disable-output-escaping="yes"> to spit out <!DOCTYPE HTML> before the
root element.  This works on most XSLT implementations, but not, for
example, Firefox, which doesn't support dispable-output-escaping.

-- 
Jon Barnett

Received on Tuesday, 24 July 2007 19:03:08 UTC