[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: specifying html doctypes using xslt literal result

Subject: RE: specifying html doctypes using xslt literal result stylesheets
From: "Michael Kay" <mhk@xxxxxxxxx>
Date: Thu, 23 Oct 2003 17:46:19 +0100
html doctypes
> The May 2003 draft of the 2.0 spec has generating
> XHTML as the prime example of using the Simplified
> Module Syntax.
> 
> Since real life use of XHTML *requires* doctypes
> and the Simplified Module Syntax is incompatible
> with producing the required doctypes, the example
> should be changed to one where doctypes are
> unnecessary and the text should explicitly warn
> about the doctype issue when using this syntax.
> 
> Alternatively, you could add a way for to specify
> an output doctype in the simplified syntax (useful
> for the 99% XHTML case).  How about giving
> the obvious meaning to an xsl:doctype-public
> attribute in the root element or just allowing the
> top-level elements in the simplified syntax?
> 

Reasonable point. I don't think we want to add functionality to the
simplified syntax that duplicates things you can do with the full
syntax.

Perhaps the XHTML output method should output a DOCTYPE declaration by
default.

Michael Kay


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.