xsl-list
[Top] [All Lists]

RE: generating HTML without 'Loose.dtd'

2005-06-14 08:32:52
You can do that by omitting doctype-system from your xsl:output tag, or by
specifying a different URL.

<xsl:output method="html" encoding="ISO-8859-1" doctype-public="-//W3C//DTD
HTML 4.01 Transitional//EN"
doctype-system="http://www.w3.org/TR/html4/loose.dtd"/>

http://www.w3schools.com/xsl/el_output.asp

Maria



-----Original Message-----
From: Dariusz Borowski [mailto:d(_dot_)borowski(_at_)web(_dot_)de] 
Sent: Tuesday, June 14, 2005 11:25 AM
To: xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
Subject: [xsl] generating HTML without 'Loose.dtd'


Hi!

I got a problem with the generated html in Cocoon.

My Problem is, the page doesn't look like I wanted it and the problem is the
DOCTYPE line. 

After it will be generated from an xsp-file and a stylsheet file xsl, it's
written in the html-file:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd";>

The page looks completely weird... espacially the background-style....

Does anybody know how I can disable the last url
("http://www.w3.org/TR/html4/loose.dtd";)  ????

I appreciate any help!

Thanks!

Dariusz

_________________________________________________________________________
Mit der Gruppen-SMS von WEB.DE FreeMail können Sie eine SMS an alle Freunde
gleichzeitig schicken: http://freemail.web.de/features/?mc=021179




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

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



<Prev in Thread] Current Thread [Next in Thread>