protected function evaluate($expr, DOMNode $node = null)
	{
		return (isset($node)) ? $this->xpath->evaluate($expr, $node) : $this->xpath->evaluate($expr);
	}
protected function evaluate($expr, DOMNode $node = null)
	{
		return (isset($node)) ? $this->xpath->evaluate($expr, $node) : $this->xpath->evaluate($expr);
	}
protected function evaluate ( $ expr , DOMNode $ node = null ) { return ( isset ( $ node ) ) ? $ this -> xpath -> evaluate ( $ expr , $ node ) : $ this -> xpath -> evaluate ( $ expr ) ; }
Evaluate an XPath expression and return its result

@param  string  $expr XPath expression
@param  DOMNode $node Context node
@return mixed
Evaluate an XPath expression and return its result