Re: [Hampshire] Doctype Declarations in PHP DOM

Top Page

Reply to this message
Author: Chris Aitken
Date:  
To: Hampshire LUG Discussion List
Subject: Re: [Hampshire] Doctype Declarations in PHP DOM
> Does anyone know if it's possible to define which DTD the DOM should use,
> so that it's output with the saveHTML() or saveXML() methods?


Does the W3C have any DTD guideline for this? That's where I used to
check for these things.
You may find that the language does not provide valid XHTML (much like
the MS ASP.NET engine...).

Chris