XML Reading help

I'm having trouble reading xml

Page 1 of 1

2 Replies - 682 Views - Last Post: 03 May 2009 - 12:28 PM Rate Topic: -----

#1 mager1794  Icon User is offline

  • D.I.C Head
  • member icon

Reputation: 3
  • View blog
  • Posts: 133
  • Joined: 23-March 09

XML Reading help

Posted 03 May 2009 - 12:10 PM

I'm trying to write a program to help me learn more about reading xml but i'm getting no where with it

Xml
<?xml version="1.0"?>
<Lua>
  <Functions>
	<Unit>

	<Spellname>
		<Desc>Description of spell</Desc>
		</Spellname>
	</Unit>
  </Functions>
</Lua>



thats my xml code i'm using lua as an example of learning it
i can't seem to figure out how to get my code to read The Spell Name and then the description, anyone got any ideas to help?

Is This A Good Question/Topic? 0
  • +

Replies To: XML Reading help

#2 PennyBoki  Icon User is offline

  • system("revolution");
  • member icon

Reputation: 53
  • View blog
  • Posts: 2,334
  • Joined: 11-December 06

Re: XML Reading help

Posted 03 May 2009 - 12:23 PM

Where is the C# code?
What classes are you using to access the xml file?
Was This Post Helpful? 0
  • +
  • -

#3 mager1794  Icon User is offline

  • D.I.C Head
  • member icon

Reputation: 3
  • View blog
  • Posts: 133
  • Joined: 23-March 09

Re: XML Reading help

Posted 03 May 2009 - 12:28 PM

Nevermind i figured it out


but knowing me im gonna screw it up again in about an hour lol
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1