array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'zh', ), 'this' => array ( 0 => 'tidy.isxml.php', 1 => 'tidy::isXml', 2 => 'Indicates if the document is a generic (non HTML/XHTML) XML document', ), 'up' => array ( 0 => 'class.tidy.php', 1 => 'tidy', ), 'prev' => array ( 0 => 'tidy.isxhtml.php', 1 => 'tidy::isXhtml', ), 'next' => array ( 0 => 'tidy.parsefile.php', 1 => 'tidy::parseFile', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'en', 'path' => 'reference/tidy/tidy/isxml.xml', ), 'history' => array ( ), ); $setup["toc"] = $TOC; $setup["toc_deprecated"] = $TOC_DEPRECATED; $setup["parents"] = $PARENTS; manual_setup($setup); contributors($setup); ?>
(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
面向对象风格
过程化风格
Tells if the document is a generic (non HTML/XHTML) XML document.