-
Hi,
I've just found a small bug while using the DOMQuery::is() method with a tag selector.
It seems as if the is() method does not check the matched element itself but all elements below the match…
-
The following functions need to be updated for HTML5 parsing and serializing.
- [x] parseXML
- [x] parseXMLFile
- [ ] innerHTML
- [ ] html()
- [ ] writeHTML()
- [ ] append()
- [ ] prepend()
- [x] Quer…
-
grunt phantomas is failing on this specific page:
```
phantomas: {
pageTest : {
options : {
indexPath : './phantomas/',
options : {
timeout …
-
During inheritance of IteratorAggregate: Uncaught yii\base\ErrorException: Return type of QueryPath\DOMQuery::getIterator() should either be compatible with IteratorAggregate::getIterator(): Traversab…
-
Hi, now that have installed domquery, how do I tell it to access a specific html ( or handlebars) file in my app? How does it know which file it is manipulating the dom for?
-
### Guidelines
- [X] I understand that [if I fail to provide all required details, this issue may be closed without review](https://github.com/gravitypdf/querypath/blob/main/.github/CONTRIBUTING.md…
-
You should check for $r === FALSE and throw exception after this piece of codes in DOMQuery::parseXMLFile() as load() and loadHTMLFile() methods of DOMDocument can return FALSE on failure:
```
…
anhta updated
8 years ago
-
``` php
#!/usr/bin/env php
-
we can use https://www.npmjs.org/package/findup-element by @hughsk for this!
-
Using more or less the pattern documented on the homepage:
```
use Masterminds\HTML5;
$html5 = new HTML5();
$dom = $html5->loadHTML($html);
qp($dom, '#row2>td:nth(3)')->text();
```
It looks like the…