Does not return a dummy root element anymore
Search syntax searches from the passed pd as root is the search string starts with a '/', else from its children.