Lines Matching refs:xpath
27 $xpath = $this->getXPath($feed);
28 $nextUrl = $this->getNextUrl($xpath);
32 $xpath = $this->getXPath($additionalFeed);
33 $this->addEntriesToMainFeed($dom, $xpath);
36 $nextUrl = $this->getNextUrl($xpath);
67 $xpath = $this->getXPathForDocument($dom);
68 return $xpath;
73 $xpath = new DomXPath($dom);
74 $xpath->registerNameSpace("atom", "http://www.w3.org/2005/Atom");
75 $xpath->registerNameSpace("zapi", "http://zotero.org/ns/api");
76 return $xpath;
79 private function getNextUrl(DOMXPath $xpath) argument
81 $next = $xpath->query("//atom:feed/atom:link[@rel='next']")->item(0);
89 private function addEntriesToMainFeed(DOMDocument $dom, DOMXPath $xpath) argument
92 $root = $xpath->query('/atom:feed')->item(0);
94 $r = $xpath->query('//atom:feed/atom:entry');