public function xpath() {
    if (!isset($this->xpath)) {
      $this->xpath = new \DOMXPath($this);
    }

    return $this->xpath;
  }
public function xpath() {
    if (!isset($this->xpath)) {
      $this->xpath = new \DOMXPath($this);
    }

    return $this->xpath;
  }
public function xpath ( ) { if ( ! isset ( $ this -> xpath ) ) { $ this -> xpath = new \ DOMXPath ( $ this ) ; } return $ this -> xpath ; }
Creates a DOMXPath to query this document.

@return DOMXPath
DOMXPath object.
Creates a DOMXPath to query this document .