views:

26

answers:

1

Hi, 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

A: 

Hi, I have found the solution somewhere on the web. To use complete xpath below property has to be set on the document object.

document.setProperty("SelectionLanguage", "XPath");

Best Regards, Keshav

keshav.veerapaneni