header('Content-Type: application/xhtml+xml');
$xw = new XMLWriter();
- $xw->setIndent(true);
$xw->openURI('php://output');
+ $xw->setIndent(true);
$xw->startDocument('1.0', 'UTF-8');
$xw->writeDTD('html', '-//W3C//DTD XHTML 1.0 Strict//EN',
'http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd');