Subject: RE: [xsl] generating HTML without 'Loose.dtd' From: Maria Amuchastegui <mamuchastegui@xxxxxxxxxxx> Date: Tue, 14 Jun 2005 11:32:52 -0400 |
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
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
[xsl] generating HTML without 'Loos, Dariusz Borowski | Thread | RE: [xsl] generating HTML without ', Dariusz Borowski |
[xsl] generating HTML without 'Loos, Dariusz Borowski | Date | [xsl] Xalan and command-line parame, Dan |
Month |