Engine PKCS#11 initial commit
[keystone-linux/engine-pkcs11.git] / doc / nonpersistent / export-wiki.xsl
1 <?xml version="1.0" encoding="UTF-8"?>
2 <xsl:stylesheet version="1.0"
3 xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
4 xmlns="http://www.w3.org/1999/xhtml"
5 xmlns:html="http://www.w3.org/1999/xhtml">
6         <xsl:output method="html" indent="yes"/>
7   
8   <xsl:template match="/">
9     <xsl:apply-templates />
10   </xsl:template>
11   
12   <xsl:template match="/html:html">
13       <html>
14         <head>
15           <title><xsl:value-of select="/html:html/html:head/html:title" /></title>
16           <style type="text/css">
17            @import url(trac.css);
18           </style>
19         </head>
20         <body>
21           <xsl:apply-templates select="//html:div[@class='wiki']" />
22           <div class="footer">
23             <hr />
24             <p><a href="index.html">Back to Index</a></p>
25           </div>
26         </body>
27       </html>
28   </xsl:template>
29   
30   <xsl:template match="/pages">
31       <html>
32         <head>
33           <title>Wiki Index</title>
34           <style type="text/css">
35            @import url(trac.css);
36           </style>
37         </head>
38         <body>
39           <h1>Index of Wiki Pages</h1>
40           <ul>
41           <xsl:apply-templates select="page" />
42           </ul>
43         </body>
44       </html>
45   </xsl:template>
46   
47   <xsl:template match="page">
48     <li><a href="{.}.html"><xsl:value-of select="." /></a></li>
49   </xsl:template>
50   
51   <xsl:template match="node()|@*" priority="-1">
52     <xsl:copy>
53       <xsl:apply-templates select="@*|node()"/>
54     </xsl:copy>
55   </xsl:template>
56  
57 </xsl:stylesheet>