Re: [xsl] XHTML html validation

Subject: Re: [xsl] XHTML html validation
From: John Steel <john.steel@xxxxxxxxxxxxxxx>
Date: Fri, 16 Feb 2007 12:08:29 +0000
Abel Braaksma wrote:
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.

It did! Thanks. Except firefox now just dumps the xml with the message "This XML file does not appear to have any style information associated with it" :-(


-- Abel Braaksma





--
--------------------------
http://www.phonewebcam.com
john.steel@xxxxxxxxxxxxxxx

Current Thread