how to select tags between two tags that has no specific attribute using xpath

Supergirl

New Member
my xml looks like this:\[code\]<p>text</p><p>text</p><table><!--some tr and td's--></table><p><sup>a</sup> text</p><p><sup>b</sup> text</p><p><sup>c</sup> text</p><p></p><table><!--some tr and td's--></table><p><sup>a</sup> text</p><p><sup>b</sup> text</p><p>text</p>\[/code\]i need to select p tags which are following-siblings of the first table and preceding-siblings of the empty p.
 
Back
Top