giga Well-Known Member Licensed User Longtime User Dec 24, 2012 #1 I have created a xml file through xmlbuilder and would like to parse the users input from that file to another file that can be used as a configuration or script. This could be either an automatic parse or even through a Click (i.e File.WriteString) Is this possible? I have seen it parsed to a listview but I would like this to be a file instead. Thanks for everyones help.
I have created a xml file through xmlbuilder and would like to parse the users input from that file to another file that can be used as a configuration or script. This could be either an automatic parse or even through a Click (i.e File.WriteString) Is this possible? I have seen it parsed to a listview but I would like this to be a file instead. Thanks for everyones help.
Erel B4X founder Staff member Licensed User Longtime User Dec 24, 2012 #2 You can parse any XML string with XMLSax. What you are doing with the parsed data is up to you. Upvote 0
giga Well-Known Member Licensed User Longtime User Dec 24, 2012 #3 Erel said: You can parse any XML string with XMLSax. What you are doing with the parsed data is up to you. Click to expand... If there are multiple elements and attributes needed at one time. Which is best to use WriteString or WriteList? Thanks for the quick response. Upvote 0
Erel said: You can parse any XML string with XMLSax. What you are doing with the parsed data is up to you. Click to expand... If there are multiple elements and attributes needed at one time. Which is best to use WriteString or WriteList? Thanks for the quick response.
Erel B4X founder Staff member Licensed User Longtime User Dec 25, 2012 #4 I like to store settings with File.WriteMap. However if you already wrote the parsing code you can just save the XML file and parse it each time. Upvote 0
I like to store settings with File.WriteMap. However if you already wrote the parsing code you can just save the XML file and parse it each time.