xsl-list
[Top] [All Lists]

RE: [xsl] Trying to avoid quirks mode

2008-12-10 04:09:42

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(_at_)seipas(_dot_)com] 
Sent: 10 December 2008 06:39
To: xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
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>


--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--

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