xpath, how to select more than one item using indices -


in query, select 3rd

//tablecontainer/table/tbody/tr/td[3] 

how select both 3rd , 4th 's?

to both 3rd , 4th tds, can use expression:

//tablecontainer/table/tbody/tr/td[position() >= 3 , position() <= 4] 

Comments

Popular posts from this blog

ios - UICollectionView Self Sizing Cells with Auto Layout -

node.js - ldapjs - write after end error -

DOM Manipulation in Wordpress (and elsewhere) using php -