<?php
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/shared-manual.inc';
$TOC = array();
$TOC_DEPRECATED = array();
$PARENTS = array();
include_once dirname(__FILE__) ."/toc/refs.basic.other.inc";
$setup = array (
  'home' => 
  array (
    0 => 'index.php',
    1 => 'PHP Manual',
  ),
  'head' => 
  array (
    0 => 'UTF-8',
    1 => 'it',
  ),
  'this' => 
  array (
    0 => 'book.tidy.php',
    1 => 'Tidy',
    2 => 'Tidy',
  ),
  'up' => 
  array (
    0 => 'refs.basic.other.php',
    1 => 'Altre estensioni fondamentali',
  ),
  'prev' => 
  array (
    0 => 'swoole-websocket-server.unpack.php',
    1 => 'Swoole\\WebSocket\\Server::unpack',
  ),
  'next' => 
  array (
    0 => 'tidy.setup.php',
    1 => 'Installazione/Configurazione',
  ),
  'alternatives' => 
  array (
  ),
  'source' => 
  array (
    'lang' => 'en',
    'path' => 'reference/tidy/book.xml',
  ),
  'history' => 
  array (
  ),
  'extra_header_links' => 
  array (
    'rel' => 'alternate',
    'href' => '/manual/en/feeds/book.tidy.atom',
    'type' => 'application/atom+xml',
  ),
);
$setup["toc"] = $TOC;
$setup["toc_deprecated"] = $TOC_DEPRECATED;
$setup["parents"] = $PARENTS;
manual_setup($setup);

contributors($setup);

?>
<div id="book.tidy" class="book">
 
 <h1 class="title">Tidy</h1>
 
 
 
 <div id="intro.tidy" class="preface">
  <h1 class="title">Introduzione</h1>
  <p class="para">
   Tidy is a binding for the Tidy HTML clean and repair utility which
   allows you to not only clean and otherwise manipulate HTML, XHTML,
   and XML documents, but also traverse the document tree, including
   ones with embedded scripting languages such as PHP or ASP within
   them using object-oriented constructs.
  </p>
 </div>
 
 
 







 




 







 




 




 


 



<ul class="chunklist chunklist_book"><li><a href="tidy.setup.php">Installazione/Configurazione</a><ul class="chunklist chunklist_book chunklist_children"><li><a href="tidy.requirements.php">Requisiti</a></li><li><a href="tidy.installation.php">Installazione</a></li><li><a href="tidy.configuration.php">Configurazione di Runtime</a></li></ul></li><li><a href="tidy.constants.php">Costanti predefinite</a></li><li><a href="tidy.examples.php">Esempi</a><ul class="chunklist chunklist_book chunklist_children"><li><a href="tidy.examples.basic.php">Tidy example</a></li></ul></li><li><a href="class.tidy.php">tidy</a> — The tidy class<ul class="chunklist chunklist_book chunklist_children"><li><a href="tidy.body.php">tidy::body</a> — Returns a tidyNode object starting from the &lt;body&gt; tag of the tidy parse tree</li><li><a href="tidy.cleanrepair.php">tidy::cleanRepair</a> — Execute configured cleanup and repair operations on parsed markup</li><li><a href="tidy.construct.php">tidy::__construct</a> — Constructs a new tidy object</li><li><a href="tidy.diagnose.php">tidy::diagnose</a> — Run configured diagnostics on parsed and repaired markup</li><li><a href="tidy.props.errorbuffer.php">tidy::$errorBuffer</a> — Return warnings and errors which occurred parsing the specified document</li><li><a href="tidy.getconfig.php">tidy::getConfig</a> — Get current Tidy configuration</li><li><a href="tidy.gethtmlver.php">tidy::getHtmlVer</a> — Get the Detected HTML version for the specified document</li><li><a href="tidy.getopt.php">tidy::getOpt</a> — Returns the value of the specified configuration option for the tidy document</li><li><a href="tidy.getoptdoc.php">tidy::getOptDoc</a> — Returns the documentation for the given option name</li><li><a href="tidy.getrelease.php">tidy::getRelease</a> — Get release date (version) for Tidy library</li><li><a href="tidy.getstatus.php">tidy::getStatus</a> — Get status of specified document</li><li><a href="tidy.head.php">tidy::head</a> — Returns a tidyNode object starting from the &lt;head&gt; tag of the tidy parse tree</li><li><a href="tidy.html.php">tidy::html</a> — Returns a tidyNode object starting from the &lt;html&gt; tag of the tidy parse tree</li><li><a href="tidy.isxhtml.php">tidy::isXhtml</a> — Indicates if the document is a XHTML document</li><li><a href="tidy.isxml.php">tidy::isXml</a> — Indicates if the document is a generic (non HTML/XHTML) XML document</li><li><a href="tidy.parsefile.php">tidy::parseFile</a> — Parse markup in file or URI</li><li><a href="tidy.parsestring.php">tidy::parseString</a> — Parse a document stored in a string</li><li><a href="tidy.repairfile.php">tidy::repairFile</a> — Repair a file and return it as a string</li><li><a href="tidy.repairstring.php">tidy::repairString</a> — Repair a string using an optionally provided configuration file</li><li><a href="tidy.root.php">tidy::root</a> — Returns a tidyNode object representing the root of the tidy parse tree</li></ul></li><li><a href="class.tidynode.php">tidyNode</a> — The tidyNode class<ul class="chunklist chunklist_book chunklist_children"><li><a href="tidynode.construct.php">tidyNode::__construct</a> — Private constructor to disallow direct instantiation</li><li><a href="tidynode.getnextsibling.php">tidyNode::getNextSibling</a> — Returns the next sibling node of the current node</li><li><a href="tidynode.getparent.php">tidyNode::getParent</a> — Returns the parent node of the current node</li><li><a href="tidynode.getprevioussibling.php">tidyNode::getPreviousSibling</a> — Returns the previous sibling node of the current node</li><li><a href="tidynode.haschildren.php">tidyNode::hasChildren</a> — Checks if a node has children</li><li><a href="tidynode.hassiblings.php">tidyNode::hasSiblings</a> — Checks if a node has siblings</li><li><a href="tidynode.isasp.php">tidyNode::isAsp</a> — Checks if this node is ASP</li><li><a href="tidynode.iscomment.php">tidyNode::isComment</a> — Checks if a node represents a comment</li><li><a href="tidynode.ishtml.php">tidyNode::isHtml</a> — Checks if a node is an element node</li><li><a href="tidynode.isjste.php">tidyNode::isJste</a> — Checks if this node is JSTE</li><li><a href="tidynode.isphp.php">tidyNode::isPhp</a> — Checks if a node is PHP</li><li><a href="tidynode.istext.php">tidyNode::isText</a> — Checks if a node represents text (no markup)</li></ul></li><li><a href="ref.tidy.php">Tidy Funzioni</a><ul class="chunklist chunklist_book chunklist_children"><li><a href="function.ob-tidyhandler.php">ob_tidyhandler</a> — ob_start callback function to repair the buffer</li><li><a href="function.tidy-access-count.php">tidy_access_count</a> — Returns the Number of Tidy accessibility warnings encountered for specified document</li><li><a href="function.tidy-config-count.php">tidy_config_count</a> — Returns the Number of Tidy configuration errors encountered for specified document</li><li><a href="function.tidy-error-count.php">tidy_error_count</a> — Returns the Number of Tidy errors encountered for specified document</li><li><a href="function.tidy-get-output.php">tidy_get_output</a> — Return a string representing the parsed tidy markup</li><li><a href="function.tidy-warning-count.php">tidy_warning_count</a> — Returns the Number of Tidy warnings encountered for specified document</li></ul></li></ul></div><?php manual_footer($setup); ?>