|
-
May 2nd, 2008, 09:13 PM
#1
Thread Starter
Addicted Member
How Convert xml string to xml file
Hi
I am using Asp.Net with vb.Net. I get a string with xml like <root><country>India</country></root>. I get like a string from one end. I need to convert this xml file. Is it possible?? If any idea tell me and give any websites for this solutions if u know.
strXml=dsCheckData.getxml();
The string is stored like a xml. I want to convert to xml file.
I hope ur's reply asp....
Thanks
Failing to plan is Planning to fail 
-
May 2nd, 2008, 09:42 PM
#2
Re: How Convert xml string to xml file
So, what hapens when you save the xml string to a file ?
-
May 2nd, 2008, 09:51 PM
#3
Thread Starter
Addicted Member
Re: How Convert xml string to xml file
Actually i get xml values and stored in string.
Now i want to load this string in xml file that is
in my application,
strSelectTemplateDetails = "select strTemplateName,strPath,strTemplateId from tblPredefinedTemplates where strServiceType='" & strServiceType & "'"
dsTemplateDetails = objClsContentDb.GetRecordSet(strSelectTemplateDetails)
strXml = dsTemplateDetails.GetXml()
in this string strXml stored like
strXml= <Table> <strTemplateName>TepWap</strTemplateName><strPath>http://mob.i-waves.com/ford/</strPath> <strTemplateId>0999</strTemplateId> </Table>
I want to convert this string to xml file
Is it Possible????
Failing to plan is Planning to fail 
-
May 3rd, 2008, 03:21 AM
#4
Re: How Convert xml string to xml file
Use the dataset's WriteXml method.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|