Skip to content

Export FreeMind to JSON (using XSLT Exporter)

License

Notifications You must be signed in to change notification settings

jomo06/freemind-to-json_jm

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 

Repository files navigation

How to export FreeMind files to JSON

These XSLT scripts allow you to export mind maps created using FreeMind into JSON format files.

Add this to your toolbox for Web & Javascript development.
I'm using it to create menus and tree controls.

In FreeMind ...

  1. Open your mind map file (MyMap.mm)
  2. From the menu select: File | Export | Using XSTL ...
  3. In the popup dialog select the Freemind2json.xsl file.
  4. And then select your JSON output file (typically a .js or .json file type).
  5. Press Export to export the file.

Export a Sencha TreeStore

If you're creating JSON data for a Sencha TreeStore you can use FreeMind2TreeStoreJSON.xsl script. This will save you copy/pasting 'leaf:true' ad nausium on each leaf node. You can also maintain your own attributes in FreeMind or prune the exported tree by setting attribute with leaf=true inside FreenMind (select a node then select 'Edit Attributes' from the context menu). Any other custom attributes you add inside FreeMind will be exported as a JSON attribute.

Roll your own

You'll find these scripts a good starting point for your own custom export. It's fairly easy to convert any other FreeMind attributes or modify the resulting JSON content or formatting.

Enjoy :) Tony.

About

Export FreeMind to JSON (using XSLT Exporter)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published