[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

RE: [xsl] Trying to avoid quirks mode


Subject: RE: [xsl] Trying to avoid quirks mode
From: "Michael Kay" <mike@xxxxxxxxxxxx>
Date: Wed, 10 Dec 2008 09:09:15 -0000

Add doctype-system and doctype-public attributes to the xsl:output
declaration.

Michael Kay
http://www.saxonica.com/ 

> -----Original Message-----
> From: Arthur Maloney [mailto:ArthurM@xxxxxxxxxx] 
> Sent: 10 December 2008 06:39
> To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> Subject: [xsl] Trying to avoid quirks mode
> 
> Hello xsl-list,
> 
> I'm generating XHtml pages (Within the Net Framework).
> How do you include DocType (not a proper Xml tag)
> 
> e.g. my Xhtml page should start
> <?xml version="1.0" encoding="UTF-8"?>
> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" 
> "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
>   <head>
>     <title>External hits</title>


Current Thread
Keywords