php8.5
Home/ Manual/ tidy / tidy/ tidy::isXml

tidy::isXml

PHP function Edit on GitHub ✎

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

Description

Oop

tidy::isXml(): bool

Procedural

tidy_is_xml(tidy $tidy): bool

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

Parameters

tidy

Object

Return Values

This function returns true if the specified tidy tidy 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.

Source: reference/tidy/tidy/isxml.xml · from the official PHP manual (php/doc-en)