more documentation
[closure-html.git] / doc / index.xsl
blob0585728ce46fc7aea9999bb518f92a6656f469ad
1 <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
2 <xsl:output method="html"
3 indent="yes"
4 doctype-public="-//W3C//DTD HTML 4.01 Transitional//EN"
5 doctype-system="http://www.w3.org/TR/html4/loose.dtd"/>
7 <xsl:template match="@*|node()">
8 <xsl:copy>
9 <xsl:apply-templates select="@*|node()"/>
10 </xsl:copy>
11 </xsl:template>
13 <xsl:template match="/">
14 <html>
15 <head>
16 <title>
17 <xsl:value-of select="/page/@title"/>
18 </title>
19 <link rel="stylesheet" type="text/css" href="index.css"/>
20 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
21 </head>
22 <body>
23 <xsl:call-template name="sidebar"/>
24 <xsl:call-template name="header"/>
25 <xsl:apply-templates/>
26 </body>
27 </html>
28 </xsl:template>
30 <xsl:template match="page">
31 <div id="homepage" class="main">
32 <xsl:apply-templates/>
33 </div>
34 </xsl:template>
36 <xsl:template match="blau">
37 <span style="color: black">
38 <xsl:apply-templates/>
39 </span>
40 </xsl:template>
42 <xsl:template match="raute">
43 <span style="font-size: 12pt">&#x2b17;</span>
44 </xsl:template>
46 <xsl:template name="header">
47 <div id="header">
48 <div style="margin-left: 30px">
49 <b>
50 <span style="color: #9c0000">
51 <xsl:value-of select="/page/@title"/>
52 </span>
53 </b>
54 </div>
55 </div>
56 </xsl:template>
58 <xsl:template name="sidebar">
59 <div class="sidebar">
60 <div class="sidebar-title">
61 <a href="index.html">Closure HTML</a>
62 </div>
63 <div class="sidebar-main">
64 <ul class="main">
65 <li>
66 <a href="installation.html">Installing Closure HTML</a>
67 <ul class="sub">
68 <li><a href="installation.html#download">Download</a></li>
69 <li><a href="installation.html#compilation">Installation</a></li>
70 </ul>
71 </li>
72 <li>
73 <a href="hax.html">Manual</a>
74 <ul class="sub">
75 <li><a href="hax.html#example">Example</a></li>
76 <li><a href="hax.html#parser">Parsing</a></li>
77 <li><a href="hax.html#serialization">Serialization</a></li>
78 <li><a href="hax.html#lhtml">LHTML: sexp model</a></li>
79 <li><a href="hax.html#pt">PT: defstruct model</a></li>
80 <li><a href="hax.html#haxsax">The cxml bridge</a></li>
81 </ul>
82 </li>
83 <li>
84 <a href="atdoc/pages/closure-html.html">API documentation</a>
85 </li>
86 </ul>
87 </div>
88 </div>
89 </xsl:template>
90 </xsl:stylesheet>