是的,您可以运行另一个xpath 查询,如下所示: foreach ($nodelist as $n) { $other_nodes = $xpath->query('div[@class="somethingelse"]', ...
確定! 回上一頁