Php/docs/tidy.isxml
来自菜鸟教程
tidy::isXml
tidy_is_xml
(PHP 5, PHP 7, PECL tidy >= 0.5.2)
tidy::isXml -- tidy_is_xml — Indicates if the document is a generic (non HTML/XHTML) XML document
说明
面向对象风格
public tidy::isXml ( ) : bool
过程化风格
tidy_is_xml
( tidy $tidy
) : bool
Tells if the document is a generic (non HTML/XHTML) XML document.
返回值
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
.