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:wave:
Re: How Convert xml string to xml file
So, what hapens when you save the xml string to a file ?
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????
Re: How Convert xml string to xml file
Use the dataset's WriteXml method.