/[zanavi_public1]/navit/navit/xslt/pedestrian.xslt
ZANavi

Contents of /navit/navit/xslt/pedestrian.xslt

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2 - (show annotations) (download)
Fri Oct 28 21:19:04 2011 UTC (12 years, 5 months ago) by zoff99
File size: 1292 byte(s)
import files
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>&#x0A; </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>&#x0A; </xsl:text>
12 <osd enabled="yes" type="button" x="-96" y="0" command="gui.menu()" src="menu.png" osd_configuration="2"/>
13 <xsl:text>&#x0A; </xsl:text>
14 <osd enabled="yes" type="button" x="-192" y="0" command="pedestrian_rocket()" src="rocket.png" osd_configuration="2"/>
15 <xsl:text>&#x0A; </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>

   
Visit the ZANavi Wiki