I’m trying to select elements <BBB> who have in their descendants at least 2 more elements of the same type at different depths.
I found it possible with:
//BBB//BBB//BBB
but if i want to change the depth of my query I have to write:
//BBB//BBB//BBB//BBB
or
//BBB//BBB
Is it possible specify the depth of my query with a parameter?
Use:
Where
$pNshould be substituted with the desired number ofBBBdescendants at different depths.