Jump to content
  • Advertisement
Sign in to follow this  
glBender

[web] asp.NET accessing XML

This topic is 4263 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I'm making a site for a club at my school, and I want each member to have a (very) little profile. Just their name, gamertag, and a quick bio or message. I'd like to save it all in an xml file like this <Members> <Member> <Name>John D</Name> <Gamertag>ILikeHalo11</Gamertag> <Bio>I really really like to play halo</Bio> <Member> </Members> So say I have that saved as 'memberinfo.xml', how do I access it(with asp.net)? What I want to do is have two arrows, and clicking them will display the next member's info, so that viewers can cycle through the members of the club and see each bio etc. I saw a way to show a whole list from an xml file with asp:repeaters, but I dont know how to single out one node. I think that covers it, any help appreciated. Bender

Share this post


Link to post
Share on other sites
Advertisement
Okay so I think I understand what needs to be done. But I have another related question... How do I add a variable to the page? Like if I want to keep track(with an number) of what profile the viewer is currently looking at, how do I do that?

Edit: I think I might be looking for 'Session' states

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!