Is this possible? I have a list of <tr> elements and the XPath expression //tr. Instead of returning/matching each <tr> element individually, I want to merge the first with the second, the third with the fourth, etc. Is this possible?
I'm using the lxml.html python package for html parsing and xpath evaluation.