item(0)->nodeValue;http://www.bkjia.com/PHP">
时间:2021-07-01 10:21:17 帮助过:33人阅读
http://www.bkjia.com/PHPjc/313583.htmlwww.bkjia.comtruehttp://www.bkjia.com/PHPjc/313583.htmlTechArticle 代码如下:$nodes = @$xpath-query("//*[@id='main_pr']/img/@src"); $prurl = $nodes-item(0)-nodeValue;...