tidy::isXml

tidy_is_xml

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

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

說(shuō)明

面向?qū)ο箫L(fēng)格

public tidy::isXml(): bool

過(guò)程化風(fēng)格

tidy_is_xml(tidy $tidy): bool

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

參數(shù)

tidy

The Tidy 對(duì)象。

返回值

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