I am trying to add a tool to my app that allows the user to edit raw xml data and save that back to the source file. When the user completes their edits, I want them to be able to click a save button that will do the following:
To keep things simple I am loading the XML from the file, pushing it to the input object and simply trying to save... no edits for now until I get this figured out.Code:-- get the text (XML) that was entered/edited str_NewXML = Input.GetText("inp_Edit"); -- insert that into the previously loaded XML overwriting all contents XML.InsertXML("*", str_NewXML, XML.REPLACE); -- save the XML out to the source file XML.Save(str_XMLDB); -- display the source file in a web object Web.LoadURL("web_View", str_XMLDB);
Problem is that the XML.Insert() action is failing with an error 37011: An error occurred while trying to insert XML.
Any help is appreciated...

