| 
 
  8.123.15 tidy_get_body()
     Retourne un objet TidyNode, commencé à partir de la balise
     <body>
    [ Exemples avec tidy_get_body ]   PHP 5 
Style procédural 
tidyNode
 tidy_get_body (
tidy
 
object
 )
Style orienté objet (méthode) 
tidyNode
 tidy->body (
)
tidy_get_body
  retourne un objet TidyNode commençant 
     à partir de la balise <body>.
     
 | Exemple avec tidy_get_body |  
<?php $html = ' <html>  <head>   <title>test</title>  </head>  <body>   <p>paragraph</p>  </body> </html>';
  $tidy = tidy_parse_string($html);
  $body = tidy_get_body($tidy); echo $body->value; ?>
 
 |   
| Note |  | 
 Cette fonction n'est disponible
qu'avec le Zend Engine 2, c'est à dire PHP >= 5.0.0. 
 |   
     Voir aussi 
      
tidy_get_head
  et
      
tidy_get_html
 .
     
 |