Quantcast
Channel: XML, System.Xml, MSXML and XmlLite forum
Viewing all articles
Browse latest Browse all 935

How to convert xml file into .ini file.

$
0
0

Hi Can anyone please help me in finding a way to convert xml file to .ini file .

For eg: My file is given below.

 <?xml version="1.0" encoding="utf-8"?>
-<configuration>
-<section name="SQLSERVER2008">
 <settingname="INSTANCEID" value=""MSSQLSERVER"" />
 <settingname="ACTION" value=""Install"" />
 <settingname="FEATURES" value="SQLENGINE,REPLICATION,FULLTEXT,AS,RS,BIDS,CONN,IS,BC,SDK,BOL,SSMS,ADV_SSMS,SNAC_SDK,OCS" />
 <settingname="HELP" value=""False"" />
 <settingname="INDICATEPROGRESS" value=""True"" />
 <settingname="QUIET" value=""False"" />
 <settingname="IACCEPTSQLSERVERLICENSETERMS" value=""TRUE"" />
 <settingname="QUIETSIMPLE" value=""True"" />
 <settingname="X86" value=""False"" />
 <settingname="ENU" value=""True"" />
 <settingname="ERRORREPORTING" value=""False"" />
 <settingname="INSTALLSHAREDDIR" value=""C:\Program Files\Microsoft SQL Server"" />
 <settingname="INSTALLSHAREDWOWDIR" value=""C:\Program Files (x86)\Microsoft SQL Server"" />
 <settingname="INSTANCEDIR" value=""C:\Program Files\Microsoft SQL Server"" />
 <settingname="SQMREPORTING" value=""False"" />
 <settingname="INSTANCENAME" value=""MSSQLSERVER"" />
 <settingname="AGTSVCSTARTUPTYPE" value=""Manual"" />
 <settingname="ISSVCSTARTUPTYPE" value=""Automatic"" />
 <settingname="ISSVCACCOUNT" value=""NT AUTHORITY\NETWORK SERVICE"" />
 <settingname="ASSVCSTARTUPTYPE" value=""Automatic"" />
 <settingname="ASCOLLATION" value=""Latin1_General_CI_AS"" />
 <settingname="ASDATADIR" value=""C:\Program Files\Microsoft SQL Server\MSAS10_50.MSSQLSERVER\OLAP\Data"" />
 <settingname="ASLOGDIR" value=""C:\Program Files\Microsoft SQL Server\MSAS10_50.MSSQLSERVER\OLAP\Log"" />
 <settingname="ASBACKUPDIR" value=""C:\Program Files\Microsoft SQL" />
 </section>
 </configuration>
Now I want to convert this xml file to .ini file . Can you please help me in converting this file above into .ini file.
Any help is appreciated.
Thanks & Regards,
Fayaz.

FayazSyed

Viewing all articles
Browse latest Browse all 935

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>