Home
last modified time | relevance | path

Searched refs:xpath (Results 1 – 10 of 10) sorted by relevance

/dokuwiki/_test/tests/Feed/
H A DFeedCreatorValidationTest.php47 $line = (int)$xml->xpath('//m:warnings/m:warninglist/warning/line')[0];
48 $text = (string)$xml->xpath('//m:warnings/m:warninglist/warning/text')[0];
49 $element = (string)$xml->xpath('//m:warnings/m:warninglist/warning/element')[0];
50 $parent = (string)$xml->xpath('//m:warnings/m:warninglist/warning/parent')[0];
63 $errorCount = (int)$xml->xpath('//m:errors/m:errorcount')[0];
65 $line = (int)$xml->xpath('//m:errors/m:errorlist/error/line')[0];
66 $text = (string)$xml->xpath('//m:errors/m:errorlist/error/text')[0];
67 $element = (string)$xml->xpath('//m:errors/m:errorlist/error/element')[0];
68 $parent = (string)$xml->xpath('//m:errors/m:errorlist/error/parent')[0];
/dokuwiki/vendor/phpseclib/phpseclib/phpseclib/Crypt/EC/Formats/Keys/
H A DXML.php94 $xpath = new \DOMXPath($dom);
96 $curve = self::loadCurveByParam($xpath);
98 $pubkey = self::query($xpath, 'publickey', 'Public Key is not present');
100 $QA = self::query($xpath, 'ecdsakeyvalue')->length ?
101 self::extractPointRFC4050($xpath, $curve) :
118 private static function query(\DOMXPath $xpath, $name, $error = null, $decode = true) argument
125 $result = $xpath->query($query);
148 $xpath = new \DOMXPath($dom);
149 $nodes = $xpath->query("//*[namespace::*[.='$ns'] and not(../namespace::*[.='$ns'])]");
178 private static function extractPointRFC4050(\DOMXPath $xpath, BaseCurve $curve) argument
[all …]
/dokuwiki/vendor/phpseclib/phpseclib/phpseclib/Crypt/DSA/Formats/Keys/
H A DXML.php60 $xpath = new \DOMXPath($dom);
64 …$temp = $xpath->query("//*[translate(local-name(), 'ABCDEFGHIJKLMNOPQRSTUVWXYZ','abcdefghijklmnopq…
/dokuwiki/vendor/simplepie/simplepie/src/
H A DSanitize.php449 $xpath = new \DOMXPath($document);
454 $comments = $xpath->query('//comment()');
468 $this->strip_tag($tag, $document, $xpath, $type);
474 $this->rename_attr($attrib, $xpath);
480 $this->strip_attr($attrib, $xpath);
646 protected function strip_tag(string $tag, DOMDocument $document, DOMXPath $xpath, int $type) argument
648 $elements = $xpath->query('body//' . $tag);
733 protected function strip_attr(string $attrib, DOMXPath $xpath) argument
735 $elements = $xpath->query('//*[@' . $attrib . ']');
753 protected function rename_attr(string $attrib, DOMXPath $xpath) argument
[all …]
H A DLocator.php347 $xpath = new \DOMXpath($this->dom);
350 $queryResult = $xpath->query($query);
H A DParser.php70 $xpath = new \DOMXpath($doc);
76 $result = $xpath->query($query);
H A DSimplePie.php2024 $xpath = new \DOMXpath($doc);
2031 $result = $xpath->query($query);
/dokuwiki/vendor/phpseclib/phpseclib/phpseclib/Crypt/RSA/Formats/Keys/
H A DXML.php69 $xpath = new \DOMXPath($dom);
73 …$temp = $xpath->query("//*[translate(local-name(), 'ABCDEFGHIJKLMNOPQRSTUVWXYZ','abcdefghijklmnopq…
/dokuwiki/_test/core/
H A DphpQuery-onefile.php152 public $xpath; variable in DOMDocumentWrapper
197 $this->xpath = new DOMXPath($this->document);
207 $this->xpath->registerNamespace("html", "http://www.w3.org/1999/xhtml");
1137 public $xpath = null; variable in phpQueryObject
1203 $this->xpath =& $this->documentWrapper->xpath;
1745 $xpath = $this->documentWrapper->isXHTML
1749 $query = $XQuery == '//' && $xpath == '/html[1]'
1751 : $xpath.$XQuery;
1754 $nodes = $this->xpath->query($query);
4173 $xpath = array();
[all …]
/dokuwiki/vendor/simplepie/simplepie/
H A DCHANGELOG.md269 * Switched from regex to xpath for microformats discovery. [#536](https://github.com/simplepie/simp…