tidy::isXml

(PHP 5, PHP 7, PECL tidy >= 0.5.2)
Indicates if the document is a generic (non HTML/XHTML) XML document
bool tidy::isXml ( void )

Object oriented style

Procedural style

bool tidy_is_xml ( tidy $object )

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

Parameters:
object

The Tidy object.

Returns:

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.

doc_php
2016-02-24 16:07:04
Comments
Leave a Comment

Please login to continue.