by Adrian Borrmann

XML File Generator


screen shot

This application generates an XML representation of local files on your system. Drag and drop files that you would like to include in the XML file, and it will create a list on the fly that you can copy/paste or save as a file. Includes numerous options for the formatting of the document.

It uses the AIR Filestream classes both to read files in and to save an XML file to a user-selected directory. The XML file is stored in UTF-8 encoding in completely syntactically correct form.

It is programmed with robust undo/redo capabilities which makes it easy to experiment with different XML layouts without worrying about being able to return to a previous state.

Its simplicity is what makes it simple to use.


Sample output:

<files>
  <directory name="Example Folder">
    <directory name="My Folder">
      <file name="MyFlashFile.as">
        <path>D:/Inetpub/wwwroot/Example%20Folder/My%20Folder/MyFlashFile.as</path>
      </file>
    </directory>
    <directory name="Some Folder">
      <file name="File 1.txt">
        <path>D:/Inetpub/wwwroot/Example%20Folder/Some%20Folder/File%201.txt</path>
      </file>
      <file name="Hello, world.txt">
        <path>D:/Inetpub/wwwroot/Example%20Folder/Some%20Folder/Hello%2c%20world.txt</path>
      </file>
    </directory>
  </directory>
</files>