protected function getInner(\DOMNode $node)
    {
        $c14n = $node->C14N();
        $begin = strpos($c14n, '>');
        $end   = strrpos($c14n, '<');

        $content = substr($c14n, $begin + 1, $end - $begin - 1);

        return $content;
    }
protected function getInner(\DOMNode $node)
    {
        $c14n = $node->C14N();
        $begin = strpos($c14n, '>');
        $end   = strrpos($c14n, '<');

        $content = substr($c14n, $begin + 1, $end - $begin - 1);

        return $content;
    }
protected function getInner ( \ DOMNode $ node ) { $ c14n = $ node -> C14N ( ) ; $ begin = strpos ( $ c14n , '>' ) ; $ end = strrpos ( $ c14n , '<' ) ; $ content = substr ( $ c14n , $ begin + 1 , $ end - $ begin - 1 ) ; return $ content ; }
Get the inner content of a DOMNode.

@param \DOMNode $node A DOMNode instance

@return string The inner content
Get the inner content of a DOMNode .