[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: generating HTML without 'Loose.dtd'
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: 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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|