Subject: Re: [xsl] Control DOCTYPE for HTML output From: "Karl J. Stubsjoen" <karl@xxxxxxxxxxxxx> Date: Tue, 3 Feb 2004 23:23:01 -0700 |
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@xxxxxxxxxxxxx> To: <xsl-list@xxxxxxxxxxxxxxxxxxxxxx> 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
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
[xsl] Control DOCTYPE for HTML outp, Karl J. Stubsjoen | Thread | RE: [xsl] Control DOCTYPE for HTML , Jarno . Elovirta |
RE: [xsl] Debugging XSLT, David Tolpin | Date | RE: [xsl] Control DOCTYPE for HTML , Jarno . Elovirta |
Month |