#!/bin/bash # Converter script to convert mindmaps generated by FreeFind to txt # The conversion is done by a xsl definition and the commandline tool xmlstarlet # The used xsl file "mm2csv.xsl" can be found inside the FreeFind 0.9 (beta) archive # at the folder accessories which can be downloaded at http://freemind.sourceforge.net #Full path to the xsl file XSL_FILE=/opt/mm2csv.xsl #Full path to the commandline converter xmlstarlet XML_STARLET=/usr/bin/xmlstarlet #conversion $XML_STARLET tr $XSL_FILE $1 > $2