tidy::isXhtml
tidy::parseFile
Tidy
PHP Manual

# tidy::isXml

# tidy_is_xml

(PHP 5, PECL tidy >= 0.5.2)

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

### Descripción

Procedural style

bool tidy_is_xml ( tidy `$object` )

Object oriented style

bool tidy::isXml ( void )

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

### Lista de parámetros

`object`

  The Tidy object.

### Valores retornados

This function returns `TRUE` if the specified tidy `object` is a generic XML document (non HTML/XHTML), or `FALSE` otherwise.

Warning

This function is not yet implemented in the Tidylib itself, so it always return `FALSE`.

tidy::isXhtml
tidy::parseFile
Tidy
PHP Manual