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(),'</html>')"/>
|
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>
|