找回密码
 加入
搜索
查看: 2074|回复: 0

[AU3基础] 如何读取XML中多个Node,名字相同但是属性不同,如何把这些属性都读出

[复制链接]
发表于 2013-1-9 15:15:53 | 显示全部楼层 |阅读模式
本帖最后由 simon_shine 于 2013-1-9 15:54 编辑

想要读取所有Summary node的属性“en” or “de" 这些
用_XMLDomWrapper没有找到合适的方法
那位高手能帮帮忙指导一下

XML如下
<BlockContent>
    <BlockBkgrndColor>
      <A>191</A>
      <R>88</R>
      <G>88</G>
      <B>88</B>
    </BlockBkgrndColor>
    <BlockBkgrndImage>
      <BackgroundImage>
        <ImageSource id="1" baseUri="http://www.metro.com/images/SarahJane/">Companion_HubBlocks_DesktopStore_Games.png</ImageSource>
      </BackgroundImage>
    </BlockBkgrndImage>
    <Summary lang="en">
      <Title>Games</Title>
      <Description>Most popular desktop games</Description>
    </Summary>
    <Summary lang="de">
      <Title>Spiele</Title>
      <Description>Popul&auml;rste Desktop-Spiele</Description>
    </Summary>
    <Summary lang="fr">
      <Title>Jeux</Title>
      <Description>Jeux de bureau les plus populaires</Description>
    </Summary>
    <Summary lang="es">
      <Title>Juegos</Title>
      <Description>Los juegos más populares y entretenimiento</Description>
    </Summary>
  </BlockContent>

--------------------------------------------------
您需要登录后才可以回帖 登录 | 加入

本版积分规则

QQ|手机版|小黑屋|AUTOIT CN ( 鲁ICP备19019924号-1 )谷歌 百度

GMT+8, 2024-9-20 03:40 , Processed in 0.079342 second(s), 22 queries .

Powered by Discuz! X3.5 Licensed

© 2001-2024 Discuz! Team.

快速回复 返回顶部 返回列表