A fork of QueryPath: a PHP library for HTML(5)/XML querying (CSS 4 or XPath) and processing (like jQuery) with PHP8.3 support
21
stars
2
forks
source link
not working: ->find() method with direct child selector #1
Closed
jakejackson1 closed 1 year ago
From querypath created by gordielachance: technosophos/querypath#205
On an item node like this one,
$node->find('> name');
gets those nodes
while it should only get this one
Is that a bug ?
I could use
$node->children('name');
But I want to be able to select NOT only direct descendants.
How could I do ? Thanks.