
Originally Posted by
Severduf
......
Now, if I want to use the same Xpath but with the source change to an URL, I get the error "DTD is prohibited".
Why is happening this and how to fix it?
You can overcome that error by setting the below property,
But, you will probably will get another error on a different line and this will continue ..... As i told you on the other side, it is not a good idea to work with this kind of code on HTML pages as there may be numerous errors in the HTML source such as missing end brackets and so on. But XML parsing requires the loaded XML file to be free of errors.
Bookmarks