tidy_parser.php
private function innerHtml($node)
    {
        $raw = '';
        if ($node->hasChildren()) {
            foreach ($node->child as $child) {
                $raw .= $child->value;
            }
        }

        return $this->stripGuards($raw);
    }
private function innerHtml($node)
    {
        $raw = '';
        if ($node->hasChildren()) {
            foreach ($node->child as $child) {
                $raw .= $child->value;
            }
        }

        return $this->stripGuards($raw);
    }
private function innerHtml ( $ node ) { $ raw = '' ; if ( $ node -> hasChildren ( ) ) { foreach ( $ node -> child as $ child ) { $ raw .= $ child -> value ; } } return $ this -> stripGuards ( $ raw ) ; }
Extracts the XML node text.

@param object $node     Tidy XML node.

@return string          The text only.
Extracts the XML node text .