XPath Question...next strange case
Posted: Mon Feb 16, 2009 4:18 pm
Hi again...
I wrote this code to get a link via xpath:
It works....
But suddendly, when I debug, the ATag can not be find again.
But it is the same code.....and the DOM is also the same???!!!
What goes wrong....???
Sorry, but currently I can not write 5 minutes code without interruptions...
Thanks for any help
Regards,
Oliver
I wrote this code to get a link via xpath:
Code: Select all
webDocument = @"/dom[@caption~'^Ferien']";
ATag lnkRegisterAvailability = webDocument.FindSingle<ATag>(@".//div[@class='objectDetailsWrapper']/ul/li[2]/a");
It works....
But suddendly, when I debug, the ATag can not be find again.
But it is the same code.....and the DOM is also the same???!!!
What goes wrong....???
Sorry, but currently I can not write 5 minutes code without interruptions...
Thanks for any help
Regards,
Oliver