Lines Matching refs:xpath
85 * @param string $xpath The XPath expression to be evaluated.
94 function &evalXPath($xpath, $node = null) argument
141 $this->xpath = null;
155 $this->xpath = $this->doc->xpath_new_context();
162 return xpath_register_ns($this->xpath, $prefix, $uri);
165 function &evalXPath($xpath, $node = null) argument
168 $result = @$this->xpath->xpath_eval($xpath, $node);
170 $result = @$this->xpath->xpath_eval($xpath);
224 $this->xpath = null;
241 $this->xpath = new DOMXPath($this->doc);
243 if ($this->xpath) {
252 return $this->xpath->registerNamespace($prefix, $uri);
255 function &evalXPath($xpath, $node = null) argument
258 $result = @$this->xpath->query($xpath, $node);
260 $result = @$this->xpath->query($xpath);