I'm trying to convert a site which currently is XHTML valid to use xslt
and remain so.
When I run the old handmade jsp pages through http://validator.w3.org/
is the , which begin
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
it validates. My stylesheet contains this
<xsl:output method="html"
doctype-public='-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd'/>
Which sticks this at the top of the doc
<!DOCTYPE HTML PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
Notice the case of the html entry. This throws up the w3c error
/Line 1 column 120/: DTD did not contain element declaration for
document type name.
|...R/xhtml1/DTD/xhtml1-transitional.dtd"*>*|
Do I really need to make that read "html" and if so how please?
--
--------------------------
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>
--~--