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/*" />
39 <table witdh="100%" valign="top">
41 <!-- top navigation menu start -->
42 <td valign="top" align="left" width="210">
43 <xsl:call-template name="myimg">
44 <xsl:with-param name="src">images/logo.gif</xsl:with-param>
45 <xsl:with-param name="alt">XML Security Library</xsl:with-param>
51 <xsl:call-template name="linkto">
52 <xsl:with-param name="href">index.html</xsl:with-param>
53 <xsl:with-param name="text">Home</xsl:with-param>
57 <xsl:call-template name="linkto">
58 <xsl:with-param name="href">download.html</xsl:with-param>
59 <xsl:with-param name="text">Download</xsl:with-param>
63 <xsl:call-template name="linkto">
64 <xsl:with-param name="href">news.html</xsl:with-param>
65 <xsl:with-param name="text">News</xsl:with-param>
69 <xsl:call-template name="linkto">
70 <xsl:with-param name="href">documentation.html</xsl:with-param>
71 <xsl:with-param name="text">Documentation</xsl:with-param>
76 <xsl:call-template name="linkto">
77 <xsl:with-param name="href">faq.html</xsl:with-param>
78 <xsl:with-param name="text">FAQ</xsl:with-param>
82 <xsl:call-template name="linkto">
83 <xsl:with-param name="href">api/xmlsec-notes.html</xsl:with-param>
84 <xsl:with-param name="text">Tutorial</xsl:with-param>
88 <xsl:call-template name="linkto">
89 <xsl:with-param name="href">api/xmlsec-reference.html</xsl:with-param>
90 <xsl:with-param name="text">API reference</xsl:with-param>
94 <xsl:call-template name="linkto">
95 <xsl:with-param name="href">api/xmlsec-examples.html</xsl:with-param>
96 <xsl:with-param name="text">Examples</xsl:with-param>
101 <xsl:call-template name="linkto">
102 <xsl:with-param name="href">xmldsig.html</xsl:with-param>
103 <xsl:with-param name="text">XML Digital Signature</xsl:with-param>
108 <a href="http://www.aleksey.com/xmlsec/xmldsig-verifier.html">Online Verifier</a>
112 <xsl:call-template name="linkto">
113 <xsl:with-param name="href">xmlenc.html</xsl:with-param>
114 <xsl:with-param name="text">XML Encryption</xsl:with-param>
118 <xsl:call-template name="linkto">
119 <xsl:with-param name="href">c14n.html</xsl:with-param>
120 <xsl:with-param name="text">XML Canonicalization</xsl:with-param>
124 <xsl:call-template name="linkto">
125 <xsl:with-param name="href">bugs.html</xsl:with-param>
126 <xsl:with-param name="text">Reporting Bugs</xsl:with-param>
129 <li><a href="http://www.aleksey.com/pipermail/xmlsec">Mailing list</a></li>
131 <xsl:call-template name="linkto">
132 <xsl:with-param name="href">related.html</xsl:with-param>
133 <xsl:with-param name="text">Related</xsl:with-param>
137 <xsl:call-template name="linkto">
138 <xsl:with-param name="href">authors.html</xsl:with-param>
139 <xsl:with-param name="text">Authors</xsl:with-param>
143 <table width="100%"><tr><td width="15"></td><td>
144 <a href="http://xmlsoft.org/">
145 <xsl:call-template name="myimg">
146 <xsl:with-param name="src">images/libxml2-logo.png</xsl:with-param>
147 <xsl:with-param name="alt">LibXML2</xsl:with-param>
150 </td></tr><tr><td width="15"></td><td>
151 <a href="http://xmlsoft.org/XSLT">
152 <xsl:call-template name="myimg">
153 <xsl:with-param name="src">images/libxslt-logo.png</xsl:with-param>
154 <xsl:with-param name="alt">LibXSLT</xsl:with-param>
157 </td></tr><tr><td width="15"></td><td>
158 <a href="http://www.openssl.org/">
159 <xsl:call-template name="myimg">
160 <xsl:with-param name="src">images/openssl-logo.png</xsl:with-param>
161 <xsl:with-param name="alt">OpenSSL</xsl:with-param>
166 <!-- links block markers -->
167 <xsl:comment>Links - start</xsl:comment>
168 <xsl:comment>Links - end</xsl:comment>
172 <!-- top navigation menu end -->
175 <table width="100%" valign="top">
176 <tr><td valign="top" align="left" id="xmlsecContent">
178 <xsl:when test="//td[@id='xmlsecContent']">
179 <xsl:copy-of select="//td[@id='xmlsecContent']/*" />
182 <xsl:copy-of select="//body/*" />