xsl-list
[Top] [All Lists]

Re: [xsl] XHTML html validation

2007-02-16 04:46:00
John Steel wrote:
<xsl:output method="html"
doctype-public='-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd'/>

I see now that your code is wrong (like I said, my knowledge of doctypes was a bit rusty ;)

Change it to this:

   <xsl:output method="xml"
doctype-system="http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";
       doctype-public="-//W3C//DTD XHTML 1.0 Transitional//EN"/>


This will likely change the 'HTML' to 'html' as well, even with the buggy resin.

-- Abel Braaksma


--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--