W3C home > Mailing lists > Public > public-html-xml@w3.org > December 2010

Re: HTML5 output method

From: Julian Reschke <julian.reschke@gmx.de>
Date: Wed, 22 Dec 2010 09:47:27 +0100
Message-ID: <4D11BB1F.7080100@gmx.de>
To: James Clark <jjc@jclark.com>
CC: public-html-xml@w3.org
On 22.12.2010 03:07, James Clark wrote:
> On the telcon, we talked about an HTML5 output method for XSLT/XQuery.
>
> I was looking at HTML output method for XSLT 1.0 to see how well it
> would work with HTML5.
>
> Although it's far from ideal, in practice I think it would work
> reasonably well.
>
> HTML5 has added a few void elements that XSLT won't know about (command,
> embed, keygen, source, track, wbr), but I believe HTML5's error handling
> will ignore the end-tag that XSLT will generate in these cases.
>
> Elements with a non-null namespace URI will be handled like XML, so
> embedded MathML and SVG will work fine provided you do use a namespace
> for these (and don't for HTML).  The user would also have to be careful
> to use the default namespace rather than a prefix for SVG and MathML.
>
> XSLT can't output <!DOCTYPE html>, but HTML5 allows <!DOCTYPE html
> SYSTEM "about:legacy-compat"> as an alternative.
>
> Have I missed any critical problems?
>
> James

No, that sounds like the complete list to me.

Best regards, Julian
Received on Wednesday, 22 December 2010 08:48:17 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 22 December 2010 08:48:18 GMT