Select-tree directive