html//p//table//tr//td//a
Would this xpath be able to handle any element appearing between the above said elements ?
for ex)
html/p/div/table/tr/td/a
html/span/p/div/div/table/tr/开发者_如何转开发td/b/a
html//p//table//tr//td//a
Would this xpath be able to handle any element appearing between the above said elements ?
for ex)
html/p/div/table/tr/td/a
html/span/p/div/div/table/tr/td/b/a
Yes, in both cases.
Yes, It will handle both of the scenarios
精彩评论