[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: specifying html doctypes using xslt literal result
> 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
|
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
|