tidy::isXml -- tidy_is_xml — Indicates if the document is a generic (non HTML/XHTML) XML document
tidy::isXml
tidy_is_xml
(PHP 5, PHP 7, PHP 8, PECL tidy >= 0.5.2)
tidy::isXml -- tidy_is_xml — Indicates if the document is a generic (non HTML/XHTML) XML document
Description
Object-oriented style
public function tidy::isXml():
bool
Procedural style
Tells if the document is a generic (non HTML/XHTML) XML document.
Parameters
tidy
The 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.
来源:PHP Documentation Group · 作者与贡献记录 · CC BY 3.0。离线整理了版式、链接和媒体显示。