Read XML Data into a richTextBox

EDN Admin

Well-known member
Joined
Aug 7, 2010
Messages
12,794
Location
In the Machine
Hello, Im trying to creating a program that does 1 thing, Displays the data from an xml file in a RichTextBox on the click of a button.
Ex.
<?xml version="1.0"?><br/>
<br/>
<!-- XML Document --><br/>
<br/>
<!-- Create Character Data--><br/>
<br/>
<PC><br/>
<!--Creates Playable Character Data--><br/>
<br/>
<Character><br/>
<name>Zuka</name><br/>
<age>17</age><br/>
<class> Swordsman </class><br/>
</Character><br/>
<br/>
<Character> <br/>
<name>Merre</name><br/>
<age>16</age><br/>
<class>Mage</class><br/>
<br/>
</Character><br/>
<name>Terrat</name><br/>
<age>24</age><br/>
<class>Assasin</class><br/>
</Character><br/>
<br/>
</PC><br/>


Will be shown as:
Characters
Zuka, 17, Swordsman.
Merre , 16, Mage.
Ext..
Problem is i have no idea what to do, Could someone please explain to me how to go about this?


View the full article
 
Back
Top