使用指定标记在Google电子表格中导入XML

时间:2011-12-07 17:27:25

标签: xml google-sheets google-docs

还有一个问题。 我有以下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?)")

如果可能的话:) 谢谢

1 个答案:

答案 0 :(得分:0)

=ImportXML("http://api.mysite.net/xml/user/id/"&C5; "//player/skills/fight")

谢谢:)