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:output method="xml" doctype-system="navit.dtd" cdata-section-elements="gui"/>
|
4 |
<xsl:template match="/config/navit">
|
5 |
<xsl:copy><xsl:copy-of select="@*"/><xsl:attribute name="osd_configuration">1</xsl:attribute><xsl:apply-templates/></xsl:copy>
|
6 |
</xsl:template>
|
7 |
<xsl:template match="/config/navit/osd[1]">
|
8 |
<osd type="auxmap" w="160" h="120" x="0" y="0" osd_configuration="2"/>
|
9 |
<xsl:text>
 </xsl:text>
|
10 |
<osd enabled="yes" type="text" label="${{navigation.item.street_name}}" x="0" y="-40" w="480" h="40" font_size="266" osd_configuration="2"/>
|
11 |
<xsl:text>
 </xsl:text>
|
12 |
<osd enabled="yes" type="button" x="-96" y="0" command="gui.menu()" src="menu.png" osd_configuration="2"/>
|
13 |
<xsl:text>
 </xsl:text>
|
14 |
<osd enabled="yes" type="button" x="-192" y="0" command="pedestrian_rocket()" src="rocket.png" osd_configuration="2"/>
|
15 |
<xsl:text>
 </xsl:text>
|
16 |
<xsl:copy><xsl:copy-of select="@*|node()"/></xsl:copy>
|
17 |
</xsl:template>
|
18 |
<xsl:template match="@*|node()"><xsl:copy><xsl:apply-templates select="@*|node()"/></xsl:copy></xsl:template>
|
19 |
</xsl:transform>
|