RE: [xsl] generating HTML without 'Loose.dtd'

Subject: RE: [xsl] generating HTML without 'Loose.dtd'
From: Dariusz Borowski <d.borowski@xxxxxx>
Date: Wed, 15 Jun 2005 11:50:36 +0200
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@xxxxxxxxxxxxxxxxxxxxxx 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.borowski@xxxxxx]
> Sent: Tuesday, June 14, 2005 11:25 AM
> To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> 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 kvnnen Sie eine SMS an alle Freunde
> gleichzeitig schicken: http://freemail.web.de/features/?mc=021179
>


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

Current Thread