When using XPath expression “descendant::div” with selectNodes in IE i am getting an error “Expected token ‘eof’ found ‘:'”. Is there something i am missing here, please help me get around this issue.
Best Regards,
Keshav
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.
When getting this error it means that the MSXML version in use is older than version 4.0 and thus default to the older value of XSLPattern that does not handle the XPath axis, e.g. ‘descendant::’
Keshav´s solution should work in this case.