I've looked at tons of examples online but haven't been able to find any that have made me understand how to do what I'm trying to accomplish. I have an XML config file for some misc. settings on a website. From the admin interface I want these to be configurable, so the site has to write back to the XML file. The XML file is structured as
How can I do here the equivalent of the SQL update set setting1=newvalue?