W3C home > Mailing lists > Public > public-html@w3.org > July 2007

Re: "Canonical" HTML5 and XHTML5 output

From: Jon Barnett <jonbarnett@gmail.com>
Date: Tue, 24 Jul 2007 14:03:02 -0500
Message-ID: <bde87dd20707241203p9bb61b0pb187c649a534d117@mail.gmail.com>
To: "Robert Burns" <rob@robburns.com>, public-html <public-html@w3.org>

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

This archive was generated by hypermail 2.3.1 : Thursday, 29 October 2015 10:15:24 UTC