loading xml data into strings
I have an xml file with:
Code:
<UserAccounts>
<Account username="username">
<password="password"/>
<banned="no"/>
<ipbann="no"/>
<inactive="no"/>
</Account>
</UserAccounts>
I want to load each one of the elements into separate strings at runtime. I've been messing around with XMLTextReader for a few hours and am starting to wonder if thats what I use. To be honest I've never incorporated Xml into any programming projects at all so any help or ideas would definitely be appreciated thanks.