On an item node like this one,
<item>
<artist>
<name>Niagara</name>
</artist>
<name>Pendant que les champs brûlent</name>
</item>
$node->find('> name');
gets those nodes
<name>Niagara</name>
<name>Pendant que les champs brûlent</name>
while it should only get this one
<name>Pendant que les champs brûlent</name>
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.