Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations biv343 on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

XSLT and DOCTYPE

Status
Not open for further replies.

JontyMC

Programmer
Nov 26, 2001
1,276
GB
I have an XSLT which constructs an XHTML page. It works fine, but when I change the following line:
Code:
<xsl:output method="html" />
to
Code:
<xsl:output method="html" doctype-system="[URL unfurl="true"]http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"[/URL] 
     doctype-public="-//W3C//DTD XHTML 1.0 Strict//EN" />
The styling from my CSS file goes wrong. Whats going on there?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top