xsl-list
[Top] [All Lists]

Re: [xsl] html5 with xQuery

2011-05-12 06:44:07
On 12/05/2011 11:21, Leo Studer wrote:
Hello

I am aware that this is a xsl list... Here my question anyway.

I am using Oxygen and try to generate an html5 output with xQuery (transformer 
SAXON-EE xQuery 9.3.0.4. )

How can I get<!DOCTYPE html>  in the output document?


I'll incur Tommie's wrath by answering an off-topic question - but only because it would be an equally valid question if you substitued XSLT for XQuery.

There's extensive discussion of the topic for example at http://stackoverflow.com/questions/3387127/set-html5-doctype-with-xslt, including the following links:

Here Ian Hickson and some XML experts discuss this:
http://lists.w3.org/Archives/Public/public-html/2009Jan/0640.html
http://markmail.org/message/64aykbbsfzlbidzl
 and here is the actual issue number:
http://www.w3.org/html/wg/tracker/issues/54
 and here's this discussion
http://www.contentwithstyle.co.uk/content/xslt-and-html-5-problems

The XSLT and XQuery WGs have taken the view that we will address serialization to HTML5 when HTML5 is finished; meanwhile WHAT WG seem to be claiming that "finished" is an obsolete concept and that HTML5 will remain under continuous change for ever. Perhaps I'm misquoting them, but that's my understanding.

Michael Kay
Saxonica



--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--

<Prev in Thread] Current Thread [Next in Thread>