Retrieving an Entrance Node in Tidy : tidy_parse_file « HTML « PHP






Retrieving an Entrance Node in Tidy

 
<?php
    $tidy = tidy_parse_file("http://www.php.net/");
    $root = $tidy->root();
?>
  
  








Related examples in the same category

1.Beautifying HTML Using Tidy
2.Extracting URLs Using Tidy
3.Reducing Bandwidth Usage Using Tidy