aboutsummaryrefslogtreecommitdiffstats
path: root/data
diff options
context:
space:
mode:
Diffstat (limited to 'data')
-rw-r--r--data/Makefile.am3
-rw-r--r--data/ephy-xml2ini.xsl51
2 files changed, 1 insertions, 53 deletions
diff --git a/data/Makefile.am b/data/Makefile.am
index e17a252a7..87f8c1d8e 100644
--- a/data/Makefile.am
+++ b/data/Makefile.am
@@ -30,8 +30,7 @@ pkgconfig_DATA = epiphany-$(EPIPHANY_API_VERSION).pc
xsldir = $(pkgdatadir)
xsl_DATA = \
- epiphany-bookmarks-html.xsl \
- ephy-xml2ini.xsl
+ epiphany-bookmarks-html.xsl
# Dbus service file
servicedir = $(datadir)/dbus-1/services
diff --git a/data/ephy-xml2ini.xsl b/data/ephy-xml2ini.xsl
deleted file mode 100644
index e9cd6b89a..000000000
--- a/data/ephy-xml2ini.xsl
+++ /dev/null
@@ -1,51 +0,0 @@
-<xsl:stylesheet version = '1.0' xmlns:xsl='http://www.w3.org/1999/XSL/Transform'>
-
-<xsl:output method="text" indent="no" encoding="UTF-8"/>
-
-<xsl:template match="/extension"># This file has been automatically generated by Epiphany
-
-[Epiphany Extension]
-Version=1
-<xsl:for-each select="/extension/name">
-<xsl:text>Name</xsl:text>
-<xsl:call-template name="printkey"/>
-</xsl:for-each>
-
-<xsl:for-each select="/extension/description">
-<xsl:text>Description</xsl:text>
-<xsl:call-template name="printkey"/>
-</xsl:for-each>
-<xsl:text>Authors=</xsl:text>
-<xsl:for-each select="/extension/author"><xsl:value-of select="."/>;</xsl:for-each>
-URL=<xsl:value-of select="/extension/url"/>
-
-[Loader]
-<xsl:choose>
-<xsl:when test='/extension/loader/@type="shlib"'>Type=shlib
-Library=<xsl:for-each select="/extension/loader/attribute">
-<xsl:if test='@name="library"'><xsl:value-of select="."/></xsl:if>
-</xsl:for-each>
-</xsl:when>
-<xsl:when test='/extension/loader/@type="python"'>Type=python
-Module=<xsl:for-each select="/extension/loader/attribute">
-<xsl:if test='@name="module"'><xsl:value-of select="."/></xsl:if>
-</xsl:for-each>
-</xsl:when>
-</xsl:choose>
-<xsl:text>
-</xsl:text>
-</xsl:template>
-
-<xsl:template name="printkey">
-<xsl:if test="@xml:lang">
-<xsl:text>[</xsl:text>
-<xsl:value-of select="@xml:lang"/>
-<xsl:text>]</xsl:text>
-</xsl:if>
-<xsl:text>=</xsl:text>
-<xsl:value-of select="."/>
-<xsl:text>
-</xsl:text>
-</xsl:template>
-
-</xsl:stylesheet>