I think you want the selectNodes method. It will return all matches as a list.