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"?>
<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="ISSVCSTARTUPTYPE" value=""Automatic"" />
<settingname="ISSVCACCOUNT" value=""NT AUTHORITY\NETWORK SERVICE"" />
<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