Mr Blue Sky Active Member Licensed User Longtime User Jan 18, 2018 #1 Hello everyone, Someone will have an idea to modify an existing XML string? Obviously not possible with XML Sax and XML Builder only allows to create XML files and not directly modify a string. having little to give I do not wish to burden the application with a db sql only for a few lines
Hello everyone, Someone will have an idea to modify an existing XML string? Obviously not possible with XML Sax and XML Builder only allows to create XML files and not directly modify a string. having little to give I do not wish to burden the application with a db sql only for a few lines
Erel B4X founder Staff member Licensed User Longtime User Jan 18, 2018 #2 There is no such thing. You must write the full XML file again. The simplest way to do it is with Xml2Map, modify the map and write it back with Map2Xml. Upvote 0
There is no such thing. You must write the full XML file again. The simplest way to do it is with Xml2Map, modify the map and write it back with Map2Xml.
Mr Blue Sky Active Member Licensed User Longtime User Jan 19, 2018 #3 pity it is not possible without redoing the entire file I find this absurd while it is so simple in php, thank Erel i change for sql.db Upvote 0
pity it is not possible without redoing the entire file I find this absurd while it is so simple in php, thank Erel i change for sql.db
Erel B4X founder Staff member Licensed User Longtime User Jan 19, 2018 #4 How can you modify a string in a file without writing the complete string again? Upvote 0
Mr Blue Sky Active Member Licensed User Longtime User Jan 19, 2018 #5 precisely my question, how to do with b4a because I know how to do with php and 4d and a priori possible to manage XML data with Java and JDOM without rebuilding the entire file http://cynober.developpez.com/tutoriel/java/xml/jdom/ but it does not matter if it's not possible I changed everything to work with sql now Upvote 0
precisely my question, how to do with b4a because I know how to do with php and 4d and a priori possible to manage XML data with Java and JDOM without rebuilding the entire file http://cynober.developpez.com/tutoriel/java/xml/jdom/ but it does not matter if it's not possible I changed everything to work with sql now