Freemind als CSV exportieren

(0 comments)

Ich verwende typischerwiese Freemind als Mindmapper Sammler für Ideen.

Sehr oft bin ich anschließend in der Situation, das ich die Mindmaps gern als strukturierte Taskliste irgendwohin anders übernehmen möchte. Hier bieter sich entweder OPML oder eine einfache CSV Datei an. Da sich die diversen Tabellenkalkulationen am leichtesten mit CSV (Comma Seperated Value) tun, verwende ich nun folgendes XSL als Export Konverter:

<?xml version="1.0"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:output method="text"/>
<xsl:template match="/">
<xsl:apply-templates/>
</xsl:template>
<xsl:template name="linebreak">
<xsl:text>
</xsl:text>
</xsl:template>
<xsl:template match="map">
<xsl:apply-templates select="child::node"/>
</xsl:template>
<xsl:template match="node">
<xsl:param name="commaCount">0</xsl:param>
<xsl:if test="$commaCount > 0">
<xsl:call-template name="writeCommas">
<xsl:with-param name="commaCount" select="$commaCount"/>
</xsl:call-template>
</xsl:if>
<xsl:value-of select="@TEXT"/>
<xsl:call-template name="linebreak"/>
<xsl:apply-templates select="child::node">
<xsl:with-param name="commaCount" select="$commaCount + 1"/>
</xsl:apply-templates>
</xsl:template>
<xsl:template name="writeCommas">
<xsl:param name="commaCount">0</xsl:param>
<xsl:if test="$commaCount > 0">,<xsl:call-template name="writeCommas">
<xsl:with-param name="commaCount" select="$commaCount - 1"/>
</xsl:call-template>
</xsl:if>
</xsl:template>
</xsl:stylesheet>

Nun zur Anleitung



  • Obiges XSL als csv.xsl abspeichern

  • In Freemind: Datei > Export > Mittels XSLT...

  • Als XSL Datei das oben erzeugte csv.xsl verwenden

  • eine Ausgabedatei auswählen

  • FERTIG


Die entstandene Exportdatei kann ohne Probleme in Tabellenkalkulationen importiert werden.

Quelle


Ich habe den Tipp aus dem Freemind Wiki: http://freemind.sourceforge.net/wiki/index.php/Import_and_export#CSV_text

 

Aktuell nicht bewertet

Kommentare

Momentan gibt es keine Kommentare

Neuer Kommentar

benötigt

benötigt (nicht veröffentlicht)

optional

benötigt

Letzte Beiträge

Kategorien

Autoren

Archiv

2023
2021
2020
2019
2018
2017
2016
2015
2014
2013
2012
2011
2010
2009
2008
2007
2006
2005

Feeds

RSS / Atom