Re: [Hampshire] Doctype Declarations in PHP DOM

Góra strony

Reply to this message
Autor: Chris Aitken
Data:  
Dla: Hampshire LUG Discussion List
Temat: 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