[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: Wendell Piez <wapiez@xxxxxxxxxxxxxxxx>
Date: Tue, 21 Oct 2003 17:13:17 -0400
xslt literal
Alex,

At 04:35 PM 10/21/2003, you wrote:
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>?

This feature of the language isn't actually all that widely used in my experience (it's almost never asked about here, which indicates either it's rarely used, or works so perfectly no one ever asks about it) -- hence, not such a FAQ....


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...

Well, since XSLT 1.0 was finished and made it to Rec in 1999, and XHTML first saw the light in 2000 ... and browsers have taken even longer to catch up ... it's perhaps forgiveable if XSLT has failed to anticipate all the challenges of deploying XHTML.


Sorry that's not much of a help.

Cheers,
Wendell


====================================================================== Wendell Piez mailto:wapiez@xxxxxxxxxxxxxxxx Mulberry Technologies, Inc. http://www.mulberrytech.com 17 West Jefferson Street Direct Phone: 301/315-9635 Suite 207 Phone: 301/315-9631 Rockville, MD 20850 Fax: 301/315-8285 ---------------------------------------------------------------------- Mulberry Technologies: A Consultancy Specializing in SGML and XML ======================================================================


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.