Re: [xsl] XHTML html validation

Subject: Re: [xsl] XHTML html validation
From: Abel Braaksma <abel.online@xxxxxxxxx>
Date: Fri, 16 Feb 2007 12:43:23 +0100
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

Current Thread