find selector inside xhp tree