I believe this XPath expression selects the nodes you want:
//table[@class="header_completed"]/
following-sibling::table[@align="center"][1]/
preceding-sibling::table[
preceding-sibling::table[@class="header_completed"]
]
First I navigate to the table
with @class="header_completed"
.
From there I select the first following sibling table with @align="center"
.
From there I select all preceding sibling tables that have a preceding sibling which is the table with @class="header_completed"
.
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…