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

vb.net - Alternative to the T-SQL AS keyword -

php - MySQLi binding parameters in a prepared statement doesn't work unless inserted after "WHERE" -

ios - CFRelease causing crash in iPad application -