Apr 6, 2019 Replies: 1 Unfortunately, Windows and Linux work with different configuration files. Therefore, I have written a simple class for converting the most common formats. Formats: INI, MAP, CSV, JSON, XML, YAML Code: Dim Config As cConfigConverter Config.Initialize 'convert xml to csv Config.read_XML( "YourPath", "YourFile.xml" ) Config.write_CSV( "YourPath", "YourFile.csv" ) Attachments cConfigConverter.bas cConfigConverter.bas 11.4 KB · Views: 559 Click to expand...
Unfortunately, Windows and Linux work with different configuration files. Therefore, I have written a simple class for converting the most common formats. Formats: INI, MAP, CSV, JSON, XML, YAML Code: Dim Config As cConfigConverter Config.Initialize 'convert xml to csv Config.read_XML( "YourPath", "YourFile.xml" ) Config.write_CSV( "YourPath", "YourFile.csv" )
Erel B4X founder Staff member Licensed User Longtime User Apr 7, 2019 #2 It will probably work with B4A and B4i as well.