<!DOCTYPE html>
<!--[if lt IE 7 ]> <html class="ie6"> <![endif]-->
<!--[if IE 7 ]>    <html class="ie7"> <![endif]-->
<!--[if IE 8 ]>    <html class="ie8"> <![endif]-->
<!--[if (gte IE 9)|!(IE)]><!--> <html> <!--<![endif]-->
<head>
	<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
	<?php echo $html_head_entries; ?>
	<style type="text/css" media="all">@import "styles/demo.css";</style>
	<title><?php echo $title; ?></title>
	<link rel="icon" href="favicon.ico" type="image/x-icon" />
</head>
<body>
	<?php echo $ui; ?>
</body>
</html>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
	<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
	<?php echo $html_head_entries; ?>
	<style type="text/css" media="all">@import "styles/demo.css";</style>
	<title><?php echo $title; ?></title>
	<link rel="icon" href="favicon.ico" type="image/x-icon" />
</head>
<body>
	<?php echo $ui; ?>
</body>
</html>

--- 
+++ 
@@ -1,5 +1,8 @@
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<!DOCTYPE html>
+<!--[if lt IE 7 ]> <html class="ie6"> <![endif]-->
+<!--[if IE 7 ]>    <html class="ie7"> <![endif]-->
+<!--[if IE 8 ]>    <html class="ie8"> <![endif]-->
+<!--[if (gte IE 9)|!(IE)]><!--> <html> <!--<![endif]-->
 <head>
 	<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
 	<?php echo $html_head_entries; ?>
Switch to HTML5 doctype and add IE version to html tag in Swat demo.

svn commit r60910
