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

Re: XSLT and HTML5 (was: Re: Prevalence of ill-formed XHTML)

From: Henri Sivonen <hsivonen@iki.fi>
Date: Fri, 7 Sep 2007 11:41:24 +0300
Message-Id: <158EDA2D-31B8-4629-B3FB-D8398C96D54B@iki.fi>
Cc: Liam Quin <liam@w3.org>, public-html WG <public-html@w3.org>
To: Karl Dubost <karl@w3.org>

On Sep 7, 2007, at 06:44, Karl Dubost wrote:

> Henri Sivonen (6 sept. 2007 - 21:36) :
>> Doing it this way addresses pretty much all the issues raised  
>> about using the text/html serialization of HTML5 together with  
>> XSLT. With the current crop of XSLT processors this entails taking  
>> out SAX as opposed to bytes from the XSLT processor and plugging  
>> in an HTML5 serializer. I suggest considering the "html" output  
>> method of XSLT obsolete as of HTML5.
>
> The HTML output method would not be obsolete, except if we were  
> rescinding HTML 4.01.

As I see it, one is better off even with HTML 4.01 by not using the  
built-in "html" output method of XSLT but instead taking out SAX  
events or a DOM tree from the off-the-shelf transformer and feeding  
the SAX events or the DOM tree to an HTML 4.01 serializer that uses  
namespaced elements as opposed to namespaced elements. This way the  
disruption to transformation sheets is minimized when switching  
between text/html and application/xhtml+xml targets.

-- 
Henri Sivonen
hsivonen@iki.fi
http://hsivonen.iki.fi/
Received on Friday, 7 September 2007 08:41:41 GMT

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