1 <xsl:stylesheet version = '1.0' xmlns:xsl='http://www.w3.org/1999/XSL/Transform'>
2 <xsl:output method="html" encoding="ISO-8859-1" />
3 <xsl:param name="topfolder"></xsl:param>
5 <xsl:template name="linkto">
6 <xsl:param name="href"/>
7 <xsl:param name="text"/>
9 <xsl:attribute name="href">
10 <xsl:value-of select="$topfolder"/>
11 <xsl:value-of select="$href"/>
13 <xsl:value-of select="$text"/>
17 <xsl:template name="myimg">
18 <xsl:param name="src"/>
19 <xsl:param name="alt"/>
20 <xsl:element name="img">
21 <xsl:attribute name="src">
22 <xsl:value-of select="$topfolder"/>
23 <xsl:value-of select="$src"/>
25 <xsl:attribute name="alt">
26 <xsl:value-of select="$alt"/>
28 <xsl:attribute name="border">0</xsl:attribute>
32 <xsl:template match="/">
36 <xsl:copy-of select="//head/*" />
37 <style type="text/css">
38 table.CALSTABLE > tbody > tr:nth-child(1) > td:nth-child(1) {
41 .synopsis, .classsynopsis {
43 border: solid 1px #aaaaaa;
47 border: solid 1px #000000;
51 border: solid 1px #000000;
56 .navigation a:visited {
62 <table width="100%" valign="top">
64 <!-- top navigation menu start -->
65 <td valign="top" align="left" width="210">
66 <xsl:call-template name="myimg">
67 <xsl:with-param name="src">images/logo.gif</xsl:with-param>
68 <xsl:with-param name="alt">XML Security Library</xsl:with-param>
74 <xsl:call-template name="linkto">
75 <xsl:with-param name="href">index.html</xsl:with-param>
76 <xsl:with-param name="text">Home</xsl:with-param>
80 <xsl:call-template name="linkto">
81 <xsl:with-param name="href">download.html</xsl:with-param>
82 <xsl:with-param name="text">Download</xsl:with-param>
86 <xsl:call-template name="linkto">
87 <xsl:with-param name="href">news.html</xsl:with-param>
88 <xsl:with-param name="text">News</xsl:with-param>
92 <xsl:call-template name="linkto">
93 <xsl:with-param name="href">documentation.html</xsl:with-param>
94 <xsl:with-param name="text">Documentation</xsl:with-param>
99 <xsl:call-template name="linkto">
100 <xsl:with-param name="href">faq.html</xsl:with-param>
101 <xsl:with-param name="text">FAQ</xsl:with-param>
105 <xsl:call-template name="linkto">
106 <xsl:with-param name="href">api/xmlsec-notes.html</xsl:with-param>
107 <xsl:with-param name="text">Tutorial</xsl:with-param>
111 <xsl:call-template name="linkto">
112 <xsl:with-param name="href">api/xmlsec-reference.html</xsl:with-param>
113 <xsl:with-param name="text">API reference</xsl:with-param>
117 <xsl:call-template name="linkto">
118 <xsl:with-param name="href">api/xmlsec-examples.html</xsl:with-param>
119 <xsl:with-param name="text">Examples</xsl:with-param>
124 <xsl:call-template name="linkto">
125 <xsl:with-param name="href">xmldsig.html</xsl:with-param>
126 <xsl:with-param name="text">XML Digital Signature</xsl:with-param>
131 <a href="http://www.aleksey.com/xmlsec/xmldsig-verifier.html">Online Verifier</a>
135 <xsl:call-template name="linkto">
136 <xsl:with-param name="href">xmlenc.html</xsl:with-param>
137 <xsl:with-param name="text">XML Encryption</xsl:with-param>
141 <xsl:call-template name="linkto">
142 <xsl:with-param name="href">c14n.html</xsl:with-param>
143 <xsl:with-param name="text">XML Canonicalization</xsl:with-param>
147 <xsl:call-template name="linkto">
148 <xsl:with-param name="href">bugs.html</xsl:with-param>
149 <xsl:with-param name="text">Reporting Bugs</xsl:with-param>
152 <li><a href="http://www.aleksey.com/pipermail/xmlsec">Mailing list</a></li>
154 <xsl:call-template name="linkto">
155 <xsl:with-param name="href">related.html</xsl:with-param>
156 <xsl:with-param name="text">Related</xsl:with-param>
160 <xsl:call-template name="linkto">
161 <xsl:with-param name="href">authors.html</xsl:with-param>
162 <xsl:with-param name="text">Authors</xsl:with-param>
166 <table width="100%"><tr><td width="15"></td><td>
167 <a href="http://xmlsoft.org/">
168 <xsl:call-template name="myimg">
169 <xsl:with-param name="src">images/libxml2-logo.png</xsl:with-param>
170 <xsl:with-param name="alt">LibXML2</xsl:with-param>
173 </td></tr><tr><td width="15"></td><td>
174 <a href="http://xmlsoft.org/XSLT">
175 <xsl:call-template name="myimg">
176 <xsl:with-param name="src">images/libxslt-logo.png</xsl:with-param>
177 <xsl:with-param name="alt">LibXSLT</xsl:with-param>
180 </td></tr><tr><td width="15"></td><td>
181 <a href="http://www.openssl.org/">
182 <xsl:call-template name="myimg">
183 <xsl:with-param name="src">images/openssl-logo.png</xsl:with-param>
184 <xsl:with-param name="alt">OpenSSL</xsl:with-param>
189 <!-- links block markers -->
190 <xsl:comment>Links - start</xsl:comment>
191 <xsl:comment>Links - end</xsl:comment>
195 <!-- top navigation menu end -->
198 <table width="100%" valign="top">
199 <tr><td valign="top" align="left" id="xmlsecContent">
201 <xsl:when test="//td[@id='xmlsecContent']">
202 <xsl:copy-of select="//td[@id='xmlsecContent']/*" />
205 <xsl:copy-of select="//body/*" />