有效的XPath不返回IMPORTXML公式的值



我不明白如何获得属性?

此代码返回错误错误: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"
)

有一个类似的问题Can't figure out如何获取时间属性

必须使用小写的属性名

=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")

最新更新