~ubuntu-branches/ubuntu/trusty/monodevelop/trusty-proposed

« back to all changes in this revision

Viewing changes to external/ikvm/website/src/documentation/skins/ikvmforrest-site/xslt/html/book2menu.xsl

  • Committer: Package Import Robot
  • Author(s): Jo Shields
  • Date: 2013-05-12 09:46:03 UTC
  • mto: This revision was merged to the branch mainline in revision 29.
  • Revision ID: package-import@ubuntu.com-20130512094603-mad323bzcxvmcam0
Tags: upstream-4.0.5+dfsg
ImportĀ upstreamĀ versionĀ 4.0.5+dfsg

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<?xml version="1.0"?>
 
2
<!--
 
3
book2menu.xsl generates the HTML menu.  See the imported book2menu.xsl for
 
4
details.
 
5
-->
 
6
 
 
7
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
 
8
 
 
9
  <xsl:import href="../../../common/xslt/html/book2menu.xsl"/>
 
10
 
 
11
  <xsl:template match="book">
 
12
    <div class="menu">
 
13
      <ul>
 
14
        <xsl:apply-templates select="menu"/>
 
15
      </ul>
 
16
    </div>
 
17
  </xsl:template>
 
18
 
 
19
  <xsl:template match="menu">
 
20
    <li>
 
21
      <font color="#CFDCED"><xsl:value-of select="@label"/></font>
 
22
      <ul>
 
23
        <xsl:apply-templates/>
 
24
      </ul>
 
25
    </li>
 
26
  </xsl:template>
 
27
 
 
28
  <xsl:template match="menu-item[@type='hidden']"/>
 
29
 
 
30
  <xsl:template match="menu-item">
 
31
    <li>
 
32
      <xsl:apply-imports/>
 
33
    </li>
 
34
  </xsl:template>
 
35
 
 
36
  <xsl:template name="selected">
 
37
    <span class="sel">
 
38
      <font color="#ffcc00">
 
39
        <xsl:value-of select="@label"/>
 
40
      </font>
 
41
    </span>
 
42
  </xsl:template>
 
43
 
 
44
  <xsl:template name="print-external">
 
45
    <font color="#ffcc00">
 
46
      <xsl:apply-imports/>
 
47
    </font>
 
48
  </xsl:template>
 
49
 
 
50
</xsl:stylesheet>