Re: html5 with xQuery
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
PURCHASE STYLUS STUDIO ONLINE TODAY!
Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!
Download The World's Best XML IDE!
Accelerate XML development with our award-winning XML IDE - Download a free trial today!
Subscribe in XML format