<TD colSpan=4> Ref. : XYZ</TD>
I am trying to retrieve the value XYZ using XPATH
//td[text()=" Ref. :"]
But i am unable to get that … can anyone find the error ..
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Try
That yields
Update
Following Alejandro’s remark about listing several nodes, here is a Java example of listing several TDs in Java (standard JDK Java parser).
Applied to the following test xhtml file
It yields