chad Posted May 20, 2005 Posted May 20, 2005 I am haveing problems find the right method to read an xml file. I xml file is being send to me as a string and I need to read through it a assign all it attribute to strings that I can use. I have tried using xmlreader along with many other xml class and am having no success. If anyone has any advice it would be greatly appriciated. Thanks Quote
a_jam_sandwich Posted May 20, 2005 Posted May 20, 2005 I am haveing problems find the right method to read an xml file. I xml file is being send to me as a string and I need to read through it a assign all it attribute to strings that I can use. I have tried using xmlreader along with many other xml class and am having no success. If anyone has any advice it would be greatly appriciated. Thanks You could try using a Dataset and reading the xml into it e.g. Dataset1.readxml(xmlfilename) Hope this helps Andy Quote Code today gone tomorrow!
Administrators PlausiblyDamp Posted May 20, 2005 Administrators Posted May 20, 2005 Any chance you could post the code you have? Or failing that could you post a sample of the XML itself and what kind of things you are wanting to get from it / do with it? Quote Posting Guidelines FAQ Post Formatting Intellectuals solve problems; geniuses prevent them. -- Albert Einstein
pelican Posted May 24, 2005 Posted May 24, 2005 try System.Xml.Serialization to serialize them into object Quote
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.