[xsl] <xsl:output> attributes for XHTML 1.1?

Subject: [xsl] <xsl:output> attributes for XHTML 1.1?
From: "Gustaf Liljegren" <gustaf.liljegren@xxxxxx>
Date: Wed, 26 Sep 2001 14:04:45 +0200
I'm making an XSLT stylesheet to process XML -> XHTML 1.1 conversions.
Here's how I imagine an <xsl:output> element for this purpose:

  cdata-section-elements="pre script style"
  doctype-public="-//W3C//DTD XHTML 1.1//EN"

XSLT 1.0 doesn't seem to specify any defaults for some of these, so I have
included them for safety. Some questions:

1. XHTML is formally "xml" in this case, not "html", right?
2. Is it okay to put the XHTML 1.1 DTD files on your own web server and
refer to that address instead of the address in the specification? That
would be for example:

  doctype-public="-//W3C//DTD XHTML 1.1//EN"

W3C must get a *lot* of traffic if everyone starts to use the original
system id, assuming that web browsers really use DTDs. :-)

3. Assuming that people use XML aware browsers, should <pre>, <script> and
<style> be considered as CDATA elements? More examples from XHTML 1.1?


Gustaf Liljegren

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list

Current Thread