Home
last modified time | relevance | path

Searched refs:xpath (Results 1 – 25 of 68) sorted by last modified time

123

/plugin/geophp/vendor/funiq/geophp/src/Adapter/
H A DGPX.php40 protected $xpath; variable in geoPHP\\Adapter\\GPX
75 $this->xpath = new DOMXPath($xmlObject);
76 $this->xpath->registerNamespace('gpx', 'http://www.topografix.com/GPX/1/1');
77 $this->xpath->registerNamespace('gpxx', 'http://www.garmin.com/xmlschemas/GpxExtensions/v3');
169 foreach ($this->xpath->query('.//gpx:extensions/gpxx:RoutePointExtension/gpxx:rpt', $node) as $element) {
/plugin/xlsx2dw/packages/xlsx/
H A Dxlsx.mjs18770 case 'xpath' /*case 'XPath'*/: break;
/plugin/dev/
H A DSVGIcon.php174 $xpath = new \DOMXPath($dom);
175 for ($els = $xpath->query('//comment()'), $i = $els->length - 1; $i >= 0; $i--) {
/plugin/combo/vendor/php-webdriver/webdriver/lib/Remote/
H A DRemoteWebElement.php92 * When using xpath be aware that webdriver follows standard conventions: a search prefixed with "//" will
116 * When using xpath be aware that webdriver follows standard conventions: a search prefixed with "//" will
564 $children = $this->findElements(WebDriverBy::xpath('./*'));
/plugin/combo/vendor/php-webdriver/webdriver/lib/
H A DWebDriverBy.php8 * 'partial link text', 'tag name' and 'xpath'.
127 * @param string $xpath
130 public static function xpath($xpath) argument
132 return new static('xpath', $xpath);
H A DWebDriverSelect.php85 $xpath = './/option[@value = ' . XPathEscaper::escapeQuotes($value) . ']';
86 $options = $this->element->findElements(WebDriverBy::xpath($xpath));
106 $xpath = './/option[normalize-space(.) = ' . XPathEscaper::escapeQuotes($text) . ']';
107 $options = $this->element->findElements(WebDriverBy::xpath($xpath));
117 // Since the mechanism of getting the text in xpath is not the same as
141 $xpath = './/option[contains(normalize-space(.), ' . XPathEscaper::escapeQuotes($text) . ')]';
142 $options = $this->element->findElements(WebDriverBy::xpath($xpath));
[all...]
H A DAbstractWebDriverCheckboxOrRadio.php151 $xpath = 'ancestor::label';
152 $xpathNormalize = sprintf('%s[%s]', $xpath, $normalizeFilter);
158 $xpath .= sprintf(' | //label[%s]', $idFilter);
163 $element->findElement(WebDriverBy::xpath($xpathNormalize));
170 // Since the mechanism of getting the text in xpath is not the same as
172 if ($text !== $element->findElement(WebDriverBy::xpath($xpath))->getText()) {
198 $form = $this->element->findElement(WebDriverBy::xpath('ancestor::form'));
202 return $form->findElements(WebDriverBy::xpath(
210 WebDriverBy::xpath(sprint
[all...]
/plugin/combo/ComboStrap/
H A DFetcherSvg.php117 * Namespace (used to query with xpath only the svg node)
271 $nodes = $this->getXmlDocument()->xpath("//*[namespace-uri()='$namespaceUri']");
272 $attributes = $this->getXmlDocument()->xpath("//@*[namespace-uri()='$namespaceUri']");
284 $commentNodes = $this->getXmlDocument()->xpath("//comment()");
315 $nodes = $this->getXmlDocument()->xpath("//@$value");
402 $elementNodeList = $this->getXmlDocument()->xpath("//*[local-name()='$elementToDeleteIfEmpty']");
1155 $svgFillsElement = $this->getXmlDocument()->xpath("//*[@fill]");
1272 $svgPaths = $this->getXmlDocument()->xpath("//*[local-name()='path' or local-name()='g']");
1291 $firsFillElement = $this->getXmlDocument()->xpath("//*[@fill][1]")->item(0);
1307 $svgPaths = $this->getXmlDocument()->xpath("//*[loca
[all...]
/plugin/combo/ComboStrap/Xml/
H A DXmlDocument.php405 $nodes = $this->xpath("//*[namespace-uri()='$namespaceUri']");
411 LogUtility::error("Internal Error on xpath: {$e->getMessage()}");
415 $nodes = $this->xpath("//@*[namespace-uri()='$namespaceUri']");
423 LogUtility::error("Internal Error on xpath: {$e->getMessage()}");
428 $xpath = new DOMXPath($this->getDomDocument());
429 $DOMNodeList = $xpath->query("namespace::*", $this->getDomDocument()->ownerDocument);
444 * We can't query with the library {@link XmlDocument::xpath()} function because
445 * we register in the xpath the namespace
447 $xpath = new DOMXPath($this->getDomDocument());
450 // See https://www.w3.org/TR/1999/REC-xpath
480 function xpath($query, DOMElement $contextNode = null): DOMNodeList global() function in ComboStrap\\Xml\\XmlDocument
777 xpathFirstDomElement(string $xpath) global() argument
[all...]
H A DXmlElement.php104 $xpath = $this->document->cssSelectorToXpath($selector);
106 foreach ($this->document->xpath($xpath, $this->domElement) as $child) {
H A DXmlSystems.php347 $svgElement = $xmlDocument->xpath($xpathQuery);
350 throw new ExceptionRuntime("xpath query error ($xpathQuery");
/plugin/combo/resources/firebug/
H A Dfirebug-lite-1.4.js4361 },copyXPath:function(elt){var xpath=getElementXPath(elt);
4362 copyToClipboard(xpath)
4363 },persistor:function(context,xpath){var elts=xpath?getElementsByXPath(context.window.document,xpath):null; argument
4372 },persistObject:function(elt,context){var xpath=getElementXPath(elt);
4373 return bind(this.persistor,top,xpath)
7038 this.getElementsByXPath=function(doc,xpath){var nodes=[]; argument
7039 try{var result=doc.evaluate(xpath,doc,null,XPathResult.ANY_TYPE,null);
7046 var xpath
[all...]
H A Dfirebug-lite-1.2-compressed.js127 if(pi.util.IsHash(_object[name])){_branch[name]={};this.movePrivateMembers(_object[name],_branch[name]);}};};};pi.element=new pi.base;pi.element.init=function(_val){this.environment.setElement(typeof _val=="string"||!_val?document.createElement(_val||"DIV"):_val);return this;};pi.element.body={"addStyle":function(){return this.environment.addStyle.apply(this.environment,arguments);},"clean":function(){var childs=this.child.get();while(childs.length){childs[0].parentNode.removeChild(childs[0]);}},"clone":function(_deep){return this.environment.getElement().cloneNode(_deep);},"insert":function(_element){_element=_element.environment?_element.environment.getElement():_element;_element.appendChild(this.environment.getElement());return this;},"insertAfter":function(_referenceElement){_referenceElement=_referenceElement.environment?_referenceElement.environment.getElement():_referenceElement;_referenceElement.nextSibling?this.insertBefore(_referenceElement.nextSibling):this.insert(_referenceElement.parentNode);return this;},"insertBefore":function(_referenceElement){_referenceElement=_referenceElement.environment?_referenceElement.environment.getElement():_referenceElement;_referenceElement.parentNode.insertBefore(this.environment.getElement(),_referenceElement);return this;},"query":function(_expression,_resultType,namespaceResolver,_result){return pi.xpath(_expression,_resultType||"ORDERED_NODE_SNAPSHOT_TYPE",this.environment.getElement(),_namespaceResolver,_result);},"remove":function(){if(this.environment.getParent()){this.environment.getParent().removeChild(this.environment.getElement());}},"update":function(_value){this.element[this.element.nodeName.toLowerCase()=="textarea"||this.element.nodeName.toLowerCase()=="input"?"value":"innerHTML"]=_value;return this;},"attribute":{"getAll":function(){return this._parent_.environment.getElement().attributes;},"clear":function(_name){this.set(_name,"");return this._parent_;},"get":function(_name){return this._parent_.environment.getElement().getAttribute(_name);},"has":function(_name){return pi.env.ie?(this.get(_name)!=null):this._parent_.environment.getElement().hasAttribute(_name);},"remove":function(_name){this._parent_.environment.getElement().removeAttribute(_name);return this._parent_;},"set":function(_name,_value){this._parent_.environment.getElement().setAttribute(_name,_value);return this._parent_;},"addClass":function(_classes){for(var i=0,len=arguments.length;i<len;i++){pi.util.Element.addClass(this._parent_.environment.getElement(),arguments[i]);};return this._parent_;},"clearClass":function(){this.setClass("");this._parent_;},"getClass":function(){return pi.util.Element.getClass(this._parent_.environment.getElement());},"hasClass":function(_class){return pi.util.Element.hasClass(this._parent_.environment.getElement(),_class);},"setClass":function(_value){return pi.util.Element.setClass(this._parent_.environment.getElement(),_value);},"removeClass":function(_class){pi.util.Element.removeClass(this._parent_.environment.getElement(),_class);return this._parent_;},"toggleClass":function(_class){pi.util.Element.toggleClass(this._parent_.environment.getElement(),_class);}},"child":{"get":function(){return this._parent_.environment.getElement().childNodes;},"add":function(_elements){for(var i=0;i<arguments.length;i++){var el=arguments[i];this._parent_.environment.getElement().appendChild(el.environment?el.environment.getElement():el);}
H A Dfirebug-lite-1.2.js2325 return pi.xpath(_expression,_resultType||"ORDERED_NODE_SNAPSHOT_TYPE",this.environment.getElement(),_namespaceResolver,_result);
/plugin/combo/vendor/carica/phpcss/
H A DREADME.md21 A small demo application can be found at: http://xpath.thomas.weinert.info/
/plugin/openid/Auth/Yadis/
H A DXML.php96 function &evalXPath($xpath, $node = null) argument
146 $this->xpath = null;
170 function &evalXPath($xpath, $node = null) argument
173 $result = @$this->xpath->xpath_eval($xpath, $node);
175 $result = @$this->xpath->xpath_eval($xpath);
232 protected $xpath = null; variable in Auth_Yadis_dom
265 $this->xpath = new DOMXPath($this->doc);
267 if ($this->xpath) {
279 function &evalXPath($xpath, $node = null) argument
282 $result = @$this->xpath->query($xpath, $node);
[all …]
/plugin/ckgedit/fckeditor/editor/filemanager/browser/default/js/
H A Dfckxml.js123 FCKXml.prototype.SelectNodes = function( xpath ) argument
127 return this.DOMDocument.selectNodes( xpath ) ;
132 var xPathResult = this.DOMDocument.evaluate( xpath, this.DOMDocument,
147 FCKXml.prototype.SelectSingleNode = function( xpath ) argument
151 return this.DOMDocument.selectSingleNode( xpath ) ;
155 var xPathResult = this.DOMDocument.evaluate( xpath, this.DOMDocument,
/plugin/icon/
H A DSVG.php198 $xpath = new \DOMXPath($dom);
199 for ($els = $xpath->query('//comment()'), $i = $els->length - 1; $i >= 0; $i--) {
/plugin/davcal/vendor/sabre/dav/tests/Sabre/DAV/Xml/Property/
H A DSupportedMethodSetTest.php42 $data = $xml->xpath('/d:multistatus/d:response/d:propstat/d:prop');
45 $data = $xml->xpath('/d:multistatus/d:response/d:propstat/d:prop/d:supported-method-set');
48 $data = $xml->xpath('/d:multistatus/d:response/d:propstat/d:status');
/plugin/davcal/vendor/sabre/dav/tests/Sabre/DAV/Locks/
H A DPluginTest.php98 $data = $xml->xpath($elem);
102 $depth = $xml->xpath('/d:prop/d:lockdiscovery/d:activelock/d:depth');
105 $token = $xml->xpath('/d:prop/d:lockdiscovery/d:activelock/d:locktoken/d:href');
/plugin/davcal/vendor/sabre/dav/tests/Sabre/DAVACL/Exception/
H A DNeedPrivilegesExceptionTest.php41 foreach($xpaths as $xpath=>$count) {
43 …Equals($count, $dxpath->query($xpath)->length, 'Looking for : ' . $xpath . ', we could only find '…
H A DNotRecognizedPrincipalTest.php31 foreach($xpaths as $xpath=>$count) {
33 …Equals($count, $dxpath->query($xpath)->length, 'Looking for : ' . $xpath . ', we could only find '…
/plugin/davcal/vendor/sabre/dav/tests/Sabre/DAVACL/
H A DPrincipalPropertySearchTest.php167 $xpath = is_int($v1)?$v2:$v1;
169 $result = $xml->xpath($xpath);
174 …ls($count,count($result), 'we expected ' . $count . ' appearances of ' . $xpath . ' . We found ' .…
240 $xpath = is_int($v1)?$v2:$v1;
242 $result = $xml->xpath($xpath);
247 …ls($count,count($result), 'we expected ' . $count . ' appearances of ' . $xpath . ' . We found ' .…
312 $xpath = is_int($v1)?$v2:$v1;
314 $result = $xml->xpath($xpath);
319 …ls($count,count($result), 'we expected ' . $count . ' appearances of ' . $xpath . ' . We found ' .…
371 $xpath = is_int($v1)?$v2:$v1;
[all …]
H A DPluginPropertiesTest.php130 foreach($xpaths as $xpath=>$count) {
132 …Equals($count, $dxpath->query($xpath)->length, 'Looking for : ' . $xpath . ', we could only find '…
/plugin/davcal/vendor/sabre/dav/tests/Sabre/DAV/
H A DTemporaryFileFilterTest.php191 list($data) = $xml->xpath('/d:multistatus/d:response/d:href');
194 $data = $xml->xpath('/d:multistatus/d:response/d:propstat/d:prop/d:resourcetype');

123