Xpath - select all matches

I'm trying to extract restaurant names from this page: http://www.yelp.com/search?find_loc=birmingham,+al&start=10&attrs=Alcohol.full_bar

This formula returns the first restaurant name: =XPathOnUrl("http://www.yelp.com/search?find_loc=birmingham,+al&start=10&attrs=Alcohol.full_bar","//*[contains(@class, 'biz-name js-analytics-click')]")

How do I return the rest of the restaurant names on the page?

Nevermind, solved it:

=Dump(XPathOnUrl(C2,"//*[contains(@class, 'biz-name js-analytics-click')]"))

1 Like