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

specifying html doctypes using xslt literal result sty

Subject: 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)
html doctypes
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

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.