How to select nodes with no children?

Another alternative would be to add a some sort of “count” attribute value. Child count or descendent count? Would be able to solve this problem and maybe be useful in other cases too.

1 Like