Warning: file_get_contents(/data/phpspider/zhask/data//catemap/3/xpath/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Xpath 在xml文档中按名称查找所有子节点_Xpath - Fatal编程技术网

Xpath 在xml文档中按名称查找所有子节点

Xpath 在xml文档中按名称查找所有子节点,xpath,Xpath,我正在寻找返回具有给定名称和属性的所有节点的xpath表达式。使用以下表达式: //Element_Name[@Attribute_Name]

我正在寻找返回具有给定名称和属性的所有节点的xpath表达式。

使用以下表达式:

//Element_Name[@Attribute_Name]