Subject: RE: [xsl] specifying html doctypes using xslt literal result stylesheets From: "Michael Kay" <mhk@xxxxxxxxx> Date: Thu, 23 Oct 2003 17:46:19 +0100 |
> 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 |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] specifying html doctypes , David Carlisle | Thread | RE: [xsl] Selecting elements with p, Kathy Burke |
Re: [xsl] Getting Entity File Names, G. Ken Holman | Date | RE: [xsl] Special characters in xsl, Jarno . Elovirta |
Month |