xsl-list
[Top] [All Lists]

Re: Control DOCTYPE for HTML output

2004-02-03 23:23:01
I got it:

<xsl:output method="html" indent="yes"
 doctype-public="-//W3C//DTD XHTML 1.0 Transitional//EN"/>


----- Original Message ----- 
From: "Karl J. Stubsjoen" <karl(_at_)azprogolf(_dot_)com>
To: <xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com>
Sent: Tuesday, February 03, 2004 11:02 PM
Subject: [xsl] Control DOCTYPE for HTML output


Hello,
How do I control the doctype?

My stylesheet kicks out the following doctype:
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html xmlns:ms="urn:schemas-microsoft-com:xslt">


However, I need to produce the following:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";>
<html xmlns:ms="urn:schemas-microsoft-com:xslt"
xmlns="http://www.w3.org/1999/xhtml";>


Thanks Karl


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list



 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list



<Prev in Thread] Current Thread [Next in Thread>