Ciao a tutti,
ho un piccolo problema con Adobe Dreamweaver CS5 (ma anche in versioni precedenti):

includo il DTD dei documenti con apposita funzione php:

codice:
function html_heading($title)
	{	
	$site_css=$_GET["css"]; 
	if(!$site_css || !strstr($site_css,".css"))
		$css="default.css";
	else 
		$css=$site_css;
		
?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title><?php echo($title); ?></title>

<link href="css/sites/<?php echo($css);?>" rel="stylesheet" type="text/css" />
<link href="css/style.css" rel="stylesheet" type="text/css" />
</head>

<?php }?>
Così, la pagina index.php:
codice:
<?php
	include("include.php");
	html_heading("Listini"); ?>
<body>
 bla bla bla
</body>
non completa il codice in XHTML ma in HTML, mi inserisce i tag
anzichè
,
<img ... > anzichè <img ... /> ecc ecc

Secondo voi come è possibile dire a Dreamweaver di trattare sempre queste pagine come DOCTYPE XHTML e quindi completare il codice correttamente?

Grazie
fiffio