我想从此链接将欧洲央行官方美元/欧元兑换率导入 Google 表格:
https://www.ecb.europa.eu/stats/policy_and_exchange_rates/euro_reference_exchange_rates/html/usd.xml
但我不知道如何表达 XPATH。例如,我尝试过这个:
=importxml(“https://www.ecb.europa.eu/stats/policy_and_exchange_rates/euro_reference_exchange_rates/html/usd.xml”,“/CompactData/DataSet/Series/Obs/@TIME_PERIOD”)
但我总是得到“导入内容为空”的结果。如果能得到任何帮助,我将不胜感激,在此先行致谢!