0 Replies Latest reply on Jun 29, 2015 5:22 PM by alf_bor

    How do I update a field in my XML Database?

    alf_bor Level 1

      I have an XML File and I was able to import data from it using Acrobat JavaScript. Now I want to be able update/modify the data within the XML file.

      I was using this:

      stmData = util.readFileIntoStream(cFilePath);
      var cData = util.stringFromStream(stmData);
      xmlData = eval(cData.replace(/^\<\?.*\?\>\s*/,""));

      An then I was able to select any field from my database and obtain the required information, now I want to be able modify any value.

      Any idea?

      I was using this example
      https://acrobatusers.com/tutorials/ge...

      Now I want to do the reverse process