Tidy
PHP Manual

tidy::isXml

tidy_is_xml

(PHP 5, PECL tidy >= 0.5.2)

tidy::isXml -- tidy_is_xmlIndicates if the document is a generic (non HTML/XHTML) XML document

Описание

Object oriented style

bool tidy::isXml ( void )

Procedural style

bool tidy_is_xml ( tidy $object )

Tells if the document is a generic (non HTML/XHTML) XML document.

Список параметров

object

Объект Tidy.

Возвращаемые значения

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.


Tidy
PHP Manual