elg2001 Posted September 11, 2006 Share Posted September 11, 2006 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 using just the DOM API. Link to comment https://forums.phpfreaks.com/topic/20359-setting-a-doctype-with-the-dom-api/ Share on other sites More sharing options...
elg2001 Posted September 11, 2006 Author Share Posted September 11, 2006 this seems like a rather trivial matter, so if anyone can help I would greatly appreciate it. Link to comment https://forums.phpfreaks.com/topic/20359-setting-a-doctype-with-the-dom-api/#findComment-89920 Share on other sites More sharing options...
elg2001 Posted September 12, 2006 Author Share Posted September 12, 2006 last try for help Link to comment https://forums.phpfreaks.com/topic/20359-setting-a-doctype-with-the-dom-api/#findComment-90138 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.