XNA Creators Club Online
Page 1 of 1 (1 items)
Sort Posts: Previous Next

Problem loading a list from a XML file.

Last post 13/10/2008 23:26 by RenegadeGD. 0 replies.
  • 13/10/2008 23:26

    Problem loading a list from a XML file.

    i have used this tutorial to learn how to load a list from an xml file: http://ziggyware.com/readarticle.php?article_id=150

    But when i try this in my own game it’s not working properly.

    When the xml file loads into a list in my game, it loads the first item in the xml, then loads 2 "null items" and then loads the next item in the xml file.

    it does this till the list has the same amount of items as the xml file.

    So I end up with a list like this : item1, 2 null items, item2, 2 null items, item3 ect.

    I can’t work out why it’s loading it like this.

    Any help would be great, thanks.

    Let me know if I should post some source code.

    EDIT: I have no idea what was wronge, but i just re-write my code and now it is working. thanks anyways tho.

Page 1 of 1 (1 items) Previous Next