Re: Using XSLT to output the HTML 5 DOCTYPE

On 7/13/07, Sam Ruby <rubys@us.ibm.com> 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.
>
> I do it now.  Warning: you might not *like* how I do it, but it does work ...

Aye. I had to pinch my nose while executing a similar maneuver[1].

It does the job, albeit not quite the way I'd prefer. Fortunately the
Google Search Appliance handles disable-output-escaping so I'm not
sweating it. Much. :)

- Joe D'Andrea

[1] http://code.google.com/p/gsa-xhtml-stylesheet/
(see "prologue" template in the multifunction version)

Received on Sunday, 15 July 2007 16:04:01 UTC