Skip navigation
Currently Being Moderated

Write and Read data to user's local file system

Apr 17, 2012 12:17 PM



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 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.




  • Currently Being Moderated
    May 19, 2012 6:15 PM   in reply to mitzy_kitty

    How is the data being used? If it is being used by JavaScript, then use JSON format which JS understands. If you use XML, then you'll need to find an XML parser to read the data.



    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points