New patch to cope both with libgps18 and libgps19
[navit-package] / navit / xslt / gui_gtk.xslt
1 <?xml version="1.0"?>
2 <xsl:transform version="2.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:xi="http://www.w3.org/2001/XInclude">
3         <xsl:template match="/config/navit/gui[@type!='gtk']">
4                 <xsl:copy><xsl:copy-of select="@*"/><xsl:attribute name="enabled">no</xsl:attribute></xsl:copy>
5                 <xsl:copy><xsl:copy-of select="node()"/></xsl:copy>
6         </xsl:template>
7         <xsl:template match="/config/navit/gui[@type='gtk']">
8                 <xsl:copy><xsl:copy-of select="@*"/><xsl:attribute name="enabled">yes</xsl:attribute></xsl:copy>
9                 <xsl:copy><xsl:copy-of select="node()"/></xsl:copy>
10         </xsl:template>
11 </xsl:transform>