public function xpath($expression, $wrapNode = true)
    {
        return $this->find($expression, Query::TYPE_XPATH, $wrapNode);
    }
public function xpath($expression, $wrapNode = true)
    {
        return $this->find($expression, Query::TYPE_XPATH, $wrapNode);
    }
public function xpath ( $ expression , $ wrapNode = true ) { return $ this -> find ( $ expression , Query :: TYPE_XPATH , $ wrapNode ) ; }
Searches for an node in the DOM tree for a given XPath expression.

@param string $expression XPath expression
@param bool   $wrapNode Returns array of \DiDom\Element if true, otherwise array of \DOMElement

@return \DiDom\Element[]|\DOMElement[]
Searches for an node in the DOM tree for a given XPath expression .