xsl-list
[Top] [All Lists]

RE: generating HTML without 'Loose.dtd'

2005-06-15 02:50:36

Hi Maria!

Thank you very much. Now I guess I'm on the right way, but I tried to put the 
<xsl:output> in my xsl Document but it should me again the same line.

What I got all the time is:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" 
"http://www.w3.org/TR/html4/loose.dtd";>

What I need is:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">

I don't know how to control the output so I can get it without this "loose.dtd".

Any advises!

Thanks!
Dariusz



xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com schrieb am 14.06.05 17:33:10:

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



______________________________________________________________
Verschicken Sie romantische, coole und witzige Bilder per SMS!
Jetzt bei WEB.DE FreeMail: http://f.web.de/?mc=021193


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