Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

You usually do not need to use text() in xpath, so this should work the same:

  //root/item[key="name"]/value


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: