GoLang tidy::isXml

request it (363)
GoLang replacement for PHP's tidy::isXml [edit | history]



Do you know a GoLang replacement for PHP's tidy::isXml? Write it!

PHP tidy::isXml

PHP original manual for tidy::isXml [ show | php.net ]

tidy::isXml

tidy_is_xml

(PHP 5, PHP 7, PECL tidy >= 0.5.2)

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

Description

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.

Parameters

object

The Tidy object.

Return Values

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.