Home
last modified time | relevance | path

Searched refs:xpath (Results 51 – 74 of 74) sorted by relevance

123

/php-src/ext/dom/tests/compareDocumentPosition/
H A Dentity.phpt28 $xpath = new DOMXPath($dom);
29 $child = $xpath->query('//child')->item(0);
H A Delement_order_same_depth.phpt27 $xpath = new DOMXPath($dom);
28 $query = $xpath->query("//p");
/php-src/ext/dom/tests/modern/html/parser/
H A Dxml_style_namespace.phpt21 $xpath = new DOM\XPath($dom);
22 foreach ($xpath->query("//*[name()='body']//*") as $node) {
H A Dpredefined_namespaces.phpt31 $xpath = new DOM\XPath($dom);
32 foreach ($xpath->query("//*[name()='body']//*") as $node) {
/php-src/ext/dom/tests/
H A Dgh12616_3.phpt27 $xpath = new DOMXPath($doc);
31 foreach ($xpath->query("/container/child1/namespace::*") as $ns) {
37 foreach ($xpath->query("/container/child1/foo/namespace::*") as $ns) {
43 foreach ($xpath->query("/container/child2/namespace::*") as $ns) {
H A DDOMXPath_quote.phpt10 $xpath = new DOMXPath($dom);
63 $result = $xpath->quote($input);
H A DDOMNode_isEqualNode.phpt44 $xpath = new DOMXPath($dom1);
47 global $xpath;
48 $container = $xpath->query($query)[0];
155 $tree = $xpath->query("//tree")[0];
265 $xpath = new DOMXPath($dom);
H A Dcanonicalization.phpt36 /* exclusive/without comments using xpath query. */
40 using xpath query with registered namespace.
/php-src/ext/simplexml/tests/
H A Dbug41947.phpt10 $gchild = $xml->xpath("//grandchild");
H A DSimpleXMLElement_xpath_4.phpt2 Testing xpath() with invalid XML
H A Dbug63575.phpt12 $r = current($o2->xpath('/a'));
H A Dbug38354.phpt14 foreach ($xml->xpath("//*") as $element) {
H A Dbug42259.phpt29 $ancestry = $child->xpath('ancestor-or-self::*');
H A Dsimplexml_uninitialized.phpt21 var_dump($sxe->xpath(''));
/php-src/ext/dom/tests/modern/html/interactions/
H A Dnoscript.phpt18 $xpath = new DOM\XPath($dom);
19 $noscript = $xpath->query("//noscript")[0];
/php-src/ext/simplexml/
H A Dphp_simplexml.h57 xmlXPathContextPtr xpath; member
H A Dsimplexml.stub.php15 public function xpath(string $expression): array|null|false {} function in SimpleXMLElement
H A Dsimplexml_arginfo.h106 ZEND_METHOD(SimpleXMLElement, xpath);
135 ZEND_ME(SimpleXMLElement, xpath, arginfo_class_SimpleXMLElement_xpath, ZEND_ACC_PUBLIC)
H A Dsimplexml.c1223 PHP_METHOD(SimpleXMLElement, xpath) in PHP_METHOD() argument
1252 if (!sxe->xpath) { in PHP_METHOD()
1255 sxe->xpath->node = nodeptr; in PHP_METHOD()
1264 sxe->xpath->namespaces = ns; in PHP_METHOD()
1265 sxe->xpath->nsNr = nsnbr; in PHP_METHOD()
1267 retval = xmlXPathEval((xmlChar *)query, sxe->xpath); in PHP_METHOD()
1270 sxe->xpath->namespaces = NULL; in PHP_METHOD()
1271 sxe->xpath->nsNr = 0; in PHP_METHOD()
1328 if (!sxe->xpath) { in PHP_METHOD()
2144 if (sxe->xpath) { in sxe_object_free_storage()
[all …]
/php-src/ext/dom/
H A Dphp_dom.stub.php363 …public function C14N(bool $exclusive = false, bool $withComments = false, ?array $xpath = null, ?a… argument
366 …string $uri, bool $exclusive = false, bool $withComments = false, ?array $xpath = null, ?array $ns… argument
1211 …public function C14N(bool $exclusive = false, bool $withComments = false, ?array $xpath = null, ?a… argument
1213 …string $uri, bool $exclusive = false, bool $withComments = false, ?array $xpath = null, ?array $ns… argument
H A Dconfig.w3217 notation.c xpath.c dom_iterators.c \
H A Dconfig.m437 notation.c xpath.c dom_iterators.c \
H A Dphp_dom_arginfo.h44 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, xpath, IS_ARRAY, 1, "null")
52 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, xpath, IS_ARRAY, 1, "null")
662 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, xpath, IS_ARRAY, 1, "null")
670 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, xpath, IS_ARRAY, 1, "null")
/php-src/
H A DUPGRADING478 Example usage: "//span[contains(text()," . $xpath->quote($string) . ")]"
691 an xpath query. This can give a time improvement of easily two order of

Completed in 64 milliseconds

123