<RecentGames>
    <XboxUserGameInfo>
      <Game>
        <Name>Plants vs. Zombies</Name>
        <TotalAchievements>12</TotalAchievements>
        <TotalGamerScore>200</TotalGamerScore>     
      </Game>
      <LastPlayed>2010-11-08T04:01:33+00:00</LastPlayed>
      <Achievements>1</Achievements>
      <GamerScore>10</GamerScore>
    </XboxUserGameInfo>

    <XboxUserGameInfo>
      <Game>
        <Name>Kinect Sports</Name>
        <TotalAchievements>50</TotalAchievements>
        <TotalGamerScore>1000</TotalGamerScore>
      </Game>
      <LastPlayed>2010-11-08T01:46:06+00:00</LastPlayed>
      <Achievements>0</Achievements>
      <GamerScore>0</GamerScore>
    </XboxUserGameInfo>

    <XboxUserGameInfo>
     <Game>
        <Name>Halo: Reach</Name>
        <TotalAchievements>49</TotalAchievements>
        <TotalGamerScore>1000</TotalGamerScore>
      </Game>
      <LastPlayed>2010-11-07T18:37:13+00:00</LastPlayed>
      <Achievements>23</Achievements>
      <GamerScore>245</GamerScore>
    </XboxUserGameInfo>
</RecentGames>

How do I read the different Information of each node even though the nodes are named the same?

Edit: I'm new to reading XML and this particular part has stumped me.

You could reference the XboxUserGameInfo nodes as numeric indexes rather than node name, then you should be able to use the node name for the children of each XboxUserGameInfo.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.