Warning: file_get_contents(/data/phpspider/zhask/data//catemap/0/xml/15.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不会为IMPORTXML公式返回值_Xml_Xpath_Google Sheets - Fatal编程技术网

有效XPath不会为IMPORTXML公式返回值

有效XPath不会为IMPORTXML公式返回值,xml,xpath,google-sheets,Xml,Xpath,Google Sheets,我不明白。 如何获取XML的属性 此代码返回错误:xPath查询未返回任何数据 =ImportXML("http://www.cbr.ru/scripts/XML_dynamic.asp?date_req1=01.01.2013&date_req2=15.03.2013&VAL_NM_RQ=R01235";"/ValCurs/Record/@Date") 类似的问题必须使用小写的属性名称 =ImportXML("http://www.cbr.ru/scripts/XML_dyn

我不明白。 如何获取XML的属性

此代码返回错误:xPath查询未返回任何数据

=ImportXML("http://www.cbr.ru/scripts/XML_dynamic.asp?date_req1=01.01.2013&date_req2=15.03.2013&VAL_NM_RQ=R01235";"/ValCurs/Record/@Date")

类似的问题

必须使用小写的属性名称

=ImportXML("http://www.cbr.ru/scripts/XML_dynamic.asp?date_req1=01.01.2013&date_req2=15.03.2013&VAL_NM_RQ=R01235";"/ValCurs/Record/@date")

为这个答案祝福你。