xsl-list
[Top] [All Lists]

Re: [xsl] XHTML html validation

2007-02-16 05:09:43
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


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





--
--------------------------
http://www.phonewebcam.com
john(_dot_)steel(_at_)phonewebcam(_dot_)com


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