<?php
/**
* Example file for function 'attr'
*
* @version $Id: attr.php 322 2009-09-14 20:19:48Z subjective $
* @license http://www.opensource.org/licenses/mit-license.php The MIT License
* @copyright Copyright (c) 2009 Bastian Feder, Thomas Weinert
*/
header('Content-type: text/plain');
$xml = <<<XML
<?xml version="1.0" encoding="UTF-8"?>
<html:html xmlns:html='http://www.w3.org/1999/xhtml'>
<html:head>
<html:title>FluentDOM project page</html:title>
</html:head>
<html:body>
<html:p>
Always nice to visit
<html:a html:href='http://fluentdom.org'>here.</html:a>
</html:p>
</html:body>
</html:html>
XML;
echo "Example for function 'attr' using XML namespaces:\n\n";
require_once('../FluentDOM.php');
echo $dom
?>