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>
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>