Subject: [xsl] specifying html doctypes using xslt literal result stylesheets From: "S. Alexander Jacobson" <xsl-list@xxxxxxxxxxxxxxxx> Date: Tue, 21 Oct 2003 16:35:24 -0400 (Eastern Standard Time) |
Hi folks, I've been searching around the web but can't find an answer to what I assume is a FAQ: How do you specify an HTML doctype when using the XSLT "Literal Result Element as Stylesheet" <http://www.w3.org/TR/xslt#result-element-stylesheet>? You can't just use an HTML DTD at the top of your stylesheet because the HTML DTD does not allow XSL elements and you can't use xsl:output in Literal Result Element stylesheets to workaround. You need an HTML DTD or else browsers won't render XHTML transitional output correctly.... If you can't do this, then the HTML examples in section 2.3 of the XSLT 1.0 spec are *very* misleading... -Alex- ___________________________________________________________________ S. Alexander Jacobson Check out my new blog!!! 1-212-787-1914 voice http://alexjacobson.com XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: [xsl] Advice for splitting text, Passin, Tom | Thread | Re: [xsl] specifying html doctypes , Wendell Piez |
RE: [xsl] Immediately preceding-sib, m . vanrootseler | Date | RE: [xsl] how to always call a temp, Xiaocun Xu |
Month |