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

Contents of /navit/navit/xslt/plugin_menu.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: 781 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/gui[@type='internal']">
5 <xsl:copy><xsl:copy-of select="@*"/>
6 <xsl:value-of select="substring-before(text(),'&lt;/html&gt;')"/>
7 <xsl:text>
8 <![CDATA[
9 <a name='Main Menu'>
10 <a href='#Plugins'>
11 <img src='gui_settings'><text>Plugins</text></img>
12 </a>
13 </a>
14 <a name='Plugins'>Plugins</a>
15 </html>
16 ]]>
17 </xsl:text>
18 </xsl:copy>
19 </xsl:template>
20 <xsl:template match="@*|node()"><xsl:copy><xsl:apply-templates select="@*|node()"/></xsl:copy></xsl:template>
21 </xsl:transform>

   
Visit the ZANavi Wiki