Converting string to XML format

Hi,
I have written an web application (ASP.net using C#), in that i am using a web service, i am passing parameters to webservice method & it is returning me the data in string format. I want to convert that string format data into XML format so that i can read that data & i will store into my database.

can anyone tell me how to do that.
[352 byte] By [query4u] at [2007-11-20 6:50:53]
# 1 Re: Converting string to XML format
Check this out. There are many ways to turn strings into XML, it really all depends on how you need the xml and how your reading the resulting xml. You can use Schema Definition files, or you can process it manually. I dont know how the string is looking when you get it or what it HAS to look like in xml but this link should give you a good place to start:

http://devresource.hp.com/drc/technical_articles/xmlprocess/index.jsp

hth,
mcm
mcmcom at 2007-11-9 11:52:56 >