tidy_parse_file
Parse markup in file or URI
Description
Procedural style:
tidytidy_parse_file
stringfilename
mixedconfig
stringencoding
booluse_include_path
Object oriented style:
booltidy->parseFile
stringfilename
mixedconfig
stringencoding
booluse_include_path
This function parses the given file.
&tidy.conf-enc;
tidy_parse_file example
cleanRepair();
if(!empty($tidy->errorBuffer)) {
echo "The following errors or warnings occured:\n";
echo $tidy->errorBuffer;
}
?>
]]>
¬e.tidy.2only;
See also tidy_parse_string,
tidy_parse_string and
tidy_repair_string.