I have an html page that I can simplify like this:
<div id="foo" class="bar">one</div>
<div id="foo" class="bar">two</div>
<div id="foo" class="bar">three</div>
What's the XPATH/XQUERY that returns only those three values one for line?
one
two
three
update: so far the nearest solution that I see is this:
//div[@id='foo']/text()
how can I also add 'AND class="bar"' and a line return after each result?