This file is indexed.

/usr/share/freeplane/resources/xslt/mm2html.xsl is in freeplane 1.2.23+dfsg1-1.

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
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
<?xml version="1.0" encoding="UTF-8" ?>

	<!--
		MINDMAPEXPORTFILTER html;htm %xslt_export.html
		
		: This code released under the GPL.
		: (http://www.gnu.org/copyleft/gpl.html) Document : mindmap2html.xsl
		Created on : 01 February 2004, 17:17 Author : joerg feuerhake
		joerg.feuerhake@free-penguin.org Description: transforms freeplane mm
		format to html, handles crossrefs font declarations and colors. feel
		free to customize it while leaving the ancient authors mentioned.
		thank you ChangeLog: See: http://freeplane.sourceforge.net/
	-->

<xsl:stylesheet version="1.0"
	xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
	<xsl:output method="html" indent="no" encoding="ISO-8859-1" />

	<xsl:template match="/">
		<xsl:variable name="mapversion" select="map/@version" />

		<html>&#xA;
            <head>&#xA;
                <title><xsl:value-of select="map/node/@TEXT"/>//mm2html.xsl FreeplaneVersion:<xsl:value-of select="$mapversion"/></title>&#xA;
                <style>
                body{
                font-size:10pt;
                color:rgb(0,0,0);
                backgound-color:rgb(255,255,255);
                font-family:sans-serif;
                }
                p.info{
                font-size:8pt;
                text-align:right;
                color:rgb(127,127,127);
                }
                </style>
            </head>
            &#xA;
            <body>
            &#xA;
          
            <p>
            <xsl:apply-templates/>
            </p>
              <p class="info">
            <xsl:value-of select="map/node/@TEXT"/>//mm2html.xsl FreeplaneVersion:<xsl:value-of select="$mapversion"/>
            &#xA;
            </p>
            </body>&#xA;
        </html>&#xA;
    </xsl:template>

<xsl:template match="node">

<xsl:variable name="lcletters">abcdefghijklmnopqrstuvwxyz</xsl:variable>
<xsl:variable name="ucletters">ABCDEFGHIJKLMNOPQRSTUVWXYZ</xsl:variable>
<xsl:variable name="nodetext" select="@TEXT"/>
<xsl:variable name="thisid" select="@ID"/>
<xsl:variable name="thiscolor" select="@COLOR"/>
<xsl:variable name="fontface" select="font/@NAME"/>
<xsl:variable name="fontbold" select="font/@BOLD"/>
<xsl:variable name="fontitalic" select="font/@ITALIC"/>
<xsl:variable name="fontsize" select="font/@SIZE"/>
<xsl:variable name="target" select="arrowlink/@DESTINATION"/>



    <ul>&#xA;
        <li>&#xA;

        <xsl:if test="@ID != ''">
            <a>
            <xsl:attribute name="name">
            	<xsl:value-of select="$thisid"/>
            </xsl:attribute>
            </a>&#xA;
        </xsl:if>

        <xsl:if test="arrowlink/@DESTINATION != ''">
            <a >
            <xsl:attribute name="style">
                <xsl:if test="$thiscolor != ''">
                 <xsl:text>color:</xsl:text><xsl:value-of select="$thiscolor"/><xsl:text>;</xsl:text>
                </xsl:if>
                <xsl:if test="$fontface != ''">
                 <xsl:text>font-family:</xsl:text><xsl:value-of select="translate($fontface,$ucletters,$lcletters)"/><xsl:text>;</xsl:text>
                </xsl:if>
                <xsl:if test="$fontsize != ''">
                <xsl:text>font-size:</xsl:text><xsl:value-of select="$fontsize"/><xsl:text>;</xsl:text>
               </xsl:if> 
               <xsl:if test="$fontbold = 'true'">
                    <xsl:text>font-weight:bold;</xsl:text>
                </xsl:if>
                <xsl:if test="$fontitalic = 'true'">
                    <xsl:text>font-style:italic;</xsl:text>
                </xsl:if>
                </xsl:attribute>

            <xsl:attribute name="href">
        	<xsl:text>#</xsl:text><xsl:value-of select="$target"/>
            </xsl:attribute>
            
            <xsl:value-of select="$nodetext"/>
            </a>&#xA;
        </xsl:if>

        <xsl:if test="not(arrowlink/@DESTINATION)">
            
         <span>
           
                <xsl:attribute name="style">
                <xsl:if test="$thiscolor != ''">
                    <xsl:text>color:</xsl:text><xsl:value-of select="$thiscolor"/><xsl:text>;</xsl:text>
                </xsl:if>
                <xsl:if test="$fontface != ''">
                    <xsl:text>font-family:</xsl:text><xsl:value-of select="translate($fontface,$ucletters,$lcletters)"/><xsl:text>;</xsl:text>
                </xsl:if>
                <xsl:if test="$fontsize != ''">
                    <xsl:text>font-size:</xsl:text><xsl:value-of select="$fontsize"/><xsl:text>;</xsl:text>
               </xsl:if> 
               <xsl:if test="$fontbold = 'true'">
                    <xsl:text>font-weight:bold;</xsl:text>
                </xsl:if>
                <xsl:if test="$fontitalic = 'true'">
                    <xsl:text>font-style:italic;</xsl:text>
                </xsl:if>
                </xsl:attribute>
                <xsl:value-of select="$nodetext"/>&#xA;
            </span>&#xA;
        </xsl:if>


        <xsl:apply-templates/>
        </li>&#xA;
    </ul>&#xA;
</xsl:template>

</xsl:stylesheet>