1 <xsl:stylesheet xmlns:
xsl=
"http://www.w3.org/1999/XSL/Transform" version=
"1.0">
2 <xsl:output method=
"html"
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()">
9 <xsl:apply-templates select=
"@*|node()"/>
13 <xsl:template match=
"/">
17 <xsl:value-of select=
"/page/@title"/>
19 <link rel=
"stylesheet" type=
"text/css" href=
"index.css"/>
20 <meta http-equiv=
"Content-Type" content=
"text/html; charset=UTF-8"/>
23 <xsl:call-template name=
"sidebar"/>
24 <xsl:call-template name=
"header"/>
25 <xsl:apply-templates/>
30 <xsl:template match=
"page">
31 <div id=
"homepage" class=
"main">
32 <xsl:apply-templates/>
36 <xsl:template match=
"blau">
37 <span style=
"color: black">
38 <xsl:apply-templates/>
42 <xsl:template match=
"raute">
43 <span style=
"font-size: 12pt">⬗</span>
46 <xsl:template match=
"toc">
48 <xsl:for-each select=
"//section">
50 <a href=
"#{generate-id()}">
51 <xsl:apply-templates/>
58 <xsl:template match=
"section">
60 <xsl:apply-templates/>
61 <a name=
"{generate-id()}"/>
65 <xsl:template name=
"header">
67 <div style=
"margin-left: 30px">
69 <span class=
"colored">
70 <xsl:value-of select=
"/page/@title"/>
77 <xsl:template name=
"sidebar">
79 <xsl:if test=
"/page/@clear-sidebar">
80 <xsl:attribute name=
"style">
81 clear:
<xsl:value-of select=
"/page/@clear-sidebar"/>;
84 <div class=
"sidebar-title">
85 <a href=
"index.html">Xuriella XSLT
</a>
87 <div class=
"sidebar-main">
90 <a href=
"installation.html">Installing Xuriella
</a>
92 <li><a href=
"installation.html#download">Download
</a></li>
93 <li><a href=
"installation.html#compilation">Installation
</a></li>
97 <a href=
"example.html">Example
</a>
101 <a href=
"atdoc/pages/xuriella.html">API documentation
</a>