【问题标题】:import XML in google spreadsheet with specified tag在具有指定标签的谷歌电子表格中导入 XML
【发布时间】:2011-12-07 17:27:25
【问题描述】:

还有一个问题。 我有以下 XML 结构:

<player>
 <id>12</id>
 <name>pl_name</name>
 <experience>
  <points>147</points>
  <level>10</level>
 </experience>
 <skills>
  <fight>0.00</fight>
  <defend>3.45</defend>
 </skills>
</player>

我想在我的 gdoc 中写下战斗技能。 所以是这样的:

=ImportXML("http://api.mysite.net/xml/user/id/"&C5; "/*(what here?)")

如果可能的话:) 谢谢你

【问题讨论】:

    标签: xml google-sheets google-docs


    【解决方案1】:
    =ImportXML("http://api.mysite.net/xml/user/id/"&C5; "//player/skills/fight")
    

    谢谢:)

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多