2 Replies Latest reply: May 19, 2012 8:57 PM by mitzy_kitty RSS

    Write and Read data to user's local file system

    mitzy_kitty Community Member



      I am writing my first dreamweaver extension. My extension needs to save data on the user's local file system. I know I can use DWfile.read() and DWfile.write() as described in chapter 2 of the Dreamweaver API reference. I'm thinking about storing the data using XML format. What is the easiest way to read and parse the XML data from the file? What is the easiest way to write the XML data to the file?


      If you recommend a format other than XML, I'm open to suggestions. The data is just some configuration information for the extension which needs to be persistent.