/usr/share/freeplane/resources/xslt/xbel2mm.xsl is in freeplane 1.3.15-3.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 | <?xml version="1.0" standalone="no" ?>
<!--
: xbel2mm.xsl : XSL stylesheet to convert from XBEL to Mindmap : :
This code released under the GPL. :
(http://www.gnu.org/copyleft/gpl.html) : : William McVey
<wam@wamber.net> : September 11, 2003 : : $Id: xbel2mm.xsl,v 1.1
2003/11/03 11:02:42 sviles Exp $ :
-->
<xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:strip-space elements="*" />
<xsl:output method="xml" indent="yes" encoding="us-ascii" />
<xsl:template match="/xbel">
<map>
<node>
<xsl:attribute name="TEXT">
<xsl:value-of select="title" />
</xsl:attribute>
<xsl:apply-templates />
</node>
</map>
</xsl:template>
<xsl:template match="folder">
<node>
<xsl:attribute name="TEXT">
<xsl:value-of select="title" />
</xsl:attribute>
<xsl:attribute name="FOLDED">
<xsl:value-of select="@folded" />
</xsl:attribute>
<xsl:apply-templates />
</node>
</xsl:template>
<xsl:template match="bookmark">
<node>
<xsl:attribute name="TEXT">
<xsl:value-of select="title" />
</xsl:attribute>
<xsl:attribute name="LINK">
<xsl:value-of select="@href" />
</xsl:attribute>
</node>
</xsl:template>
<xsl:template match="node()|@*" />
</xsl:stylesheet>
|