如何在php xpath查询中排除没有id或class的元素

时间:2016-09-18 14:33:26

标签: php domxpath

我有这个:

bash -c -l 'npm start'

它返回类/ p和class / div中的所有文本节点及其所有子节点。但我希望它排除class / p / strong

0 个答案:

没有答案