Ahren Posted March 12, 2005 Posted March 12, 2005 I am new to c# and would like to know how I can read xml. I want to use xml for the options in my program. How would I read something simple like: <appsettings> <option>Option Value</option> </appsettings> How would I retrieve the 'Option Value'? Quote
michael_hk Posted March 12, 2005 Posted March 12, 2005 XmlDocument XmlDataDocument Take a look at these two classes Quote There is no spoon. <<The Matrix>>
michael_hk Posted March 12, 2005 Posted March 12, 2005 For app. setting, here is a tutorial. Quote There is no spoon. <<The Matrix>>
Ahren Posted March 12, 2005 Author Posted March 12, 2005 I have tried all of those things but none seem to work Quote
michael_hk Posted March 12, 2005 Posted March 12, 2005 Why all failed? Quote There is no spoon. <<The Matrix>>
Ahren Posted March 12, 2005 Author Posted March 12, 2005 I dont know why but nothing I try seems to work, which is why I asked for an example that would read 'Option value' for my xml file. Quote
Administrators PlausiblyDamp Posted March 12, 2005 Administrators Posted March 12, 2005 Any chance you could post the code that doesn't work? Quote Posting Guidelines FAQ Post Formatting Intellectuals solve problems; geniuses prevent them. -- Albert Einstein
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.