0
我检查了一些类似的解决方案,但没有一个完全解决了这个问题。php dom在Xpath中跳过某些部分
当此XPath被调用,附和道:
$xpathResult = $xpath->query("//a[@href = '../page.php?passto={$_GET['passto']}']/..");
从这个网站:
<td class="cell">
<a class="link" href="../page.php?passto=iframecontent.pdf>
HYPERLINK
</a> Bla bla bla...
</td>
这将露面:
HYPERLINK Bla bla bla...
现在,我应该怎么办跳过并在xpath中隐藏'HYPERLINK',以便只有'Bla bla bla ...'出现?
感谢您的帮助。