阅读背景:

在HTML文件的XPath中提取HTML

来源:互联网 

I'm trying get get the html code from a file at a given Xpath. I tried using HTMLUnit, but it doesn't seem to play too nicely with these static files downloaded from google cache. I've had a bit better luck with HTMLCleaner, but so far I've just been able to get text and no HTML code. Any suggestions would be helpful. The following is the code I am currently using.I'm trying get get the html code from a file at




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: