final public function value(string $expression): Collection\StringCollection
    {
        $items = $this->query($expression);
        $result = [];
        foreach ($items as $node) {
            $result[] = $node->nodeValue;
        }
        return new StringCollection($result);
    }
final public function value(string $expression): Collection\StringCollection
    {
        $items = $this->query($expression);
        $result = [];
        foreach ($items as $node) {
            $result[] = $node->nodeValue;
        }
        return new StringCollection($result);
    }
final public function value ( string $ expression ) : Collection \ StringCollection { $ items = $ this -> query ( $ expression ) ; $ result = [ ] ; foreach ( $ items as $ node ) { $ result [ ] = $ node -> nodeValue ; } return new StringCollection ( $ result ) ; }
Get nodeValue of node

@param string $expression
@return StringCollection
@throws \Exception
Get nodeValue of node