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

Re: Using XSLT to output the HTML 5 DOCTYPE

From: Julian Reschke <julian.reschke@gmx.de>
Date: Fri, 13 Jul 2007 21:58:02 +0200
Message-ID: <4697D94A.4050505@gmx.de>
To: Sam Ruby <rubys@us.ibm.com>
CC: Jon Barnett <jonbarnett@gmail.com>, HTML Working Group <public-html@w3.org>

Sam Ruby wrote:
> 
> Jon Barnett wrote:
>> As far as I can tell, there is no way to make XSLT 1.0 or 2.0 output 
>> the HTML 5 DOCTYPE. 

Yes, that problem was mentioned before (and not addressed).

> I do it now.  Warning: you might not *like* how I do it, but it does work:
> 
> http://intertwingly.net/code/venus/themes/asf/index.html.xslt

disable-output-escaping is a truly optional XSLT feature (Sam: yes, I 
know you know that, but the others may not...). For instance, it will 
not work within Firefox' XSLT implementation, because it internally 
transforms to a DOM (AFAIK), not a byte stream.

Best regards, Julian
Received on Friday, 13 July 2007 19:58:11 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 9 May 2012 00:16:02 GMT