(PHP 5, PECL tidy >= 0.5.2)
tidy::isXml -- tidy_is_xml — Indicates if the document is a generic (non HTML/XHTML) XML document
Object oriented style
Procedural style
Tells if the document is a generic (non HTML/XHTML) XML document.
This function returns TRUE if the specified tidy object is a generic XML document (non HTML/XHTML), or FALSE otherwise.
This function is not yet implemented in the Tidylib itself, so it always return FALSE.