Hi,
I'm using PHP5's DOM API (http://www.php.net/manual/en/ref.dom.php) to build a XHTML 1.1 page. I can successfully create a DOMDocument object, but how do I modify the DOCTYPE of the DOMDocument object? Please note that the DOMDocument::doctype property is read-only.
In a nutshell, I'd like to build one very simple XHTML 1.1 compliant web page (not a whole site) using just the DOM API.