source: documentation/tags/2.80/manuals/processing/xml-to-one-html.xsl@ 20720

Last change on this file since 20720 was 14099, checked in by lh92, 17 years ago

Added the copyright information

  • Property svn:keywords set to Author Date Id Revision
File size: 1.8 KB
Line 
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:java="http://xml.apache.org/xslt/java"
5 xmlns:util="xalan://org.greenstone.gsdl3.util.XSLTUtil"
6 extension-element-prefixes="java util"
7 exclude-result-prefixes="java util">
8
9 <xsl:include href="common.xsl"/>
10 <xsl:include href="crossref.xsl"/>
11 <xsl:output method="html"/>
12
13 <xsl:template match="Manual">
14 <html>
15 <head>
16 <title><xsl:value-of select="Title/Text"/></title>
17 <link rel="stylesheet" href="../../style.css" type="text/css"/>
18 </head>
19 <body>
20 <table width="90%" border="0" align="center">
21 <tr><td>
22 <h2><xsl:apply-templates select="Heading/Text"/></h2>
23 <h1><xsl:apply-templates select="Title/Text"/></h1>
24 <xsl:apply-templates select="Author"/>
25 <xsl:apply-templates select="Affiliation"/>
26
27 <div class="indexlink"><a href="../../index.html"><xsl:value-of select="/Manual/SupplementaryText/Text[@id='top_index']"/></a></div>
28
29 <xsl:apply-templates select="Text"/>
30
31 <xsl:apply-templates select="Comment"/>
32 <xsl:call-template name="version_and_date"/>
33 <br/>
34 <xsl:apply-templates select="Section" mode="preface"/>
35 <h3>Contents</h3>
36 <a name="index"/>
37 <dl>
38 <xsl:apply-templates select="Chapter[not(@hidden)]|Appendix|Bibliography" mode="index"/>
39 </dl>
40 <xsl:apply-templates select="Chapter"/>
41 <xsl:apply-templates select="Appendix"/>
42 <xsl:apply-templates select="Bibliography"/>
43 <xsl:if test="FootnoteList"><hr/><xsl:apply-templates select="FootnoteList"/></xsl:if>
44 </td></tr></table>
45 <hr/>
46 <div style="text-align:center;"><xsl:apply-templates select="/Manual/Section[@id='copyright']/Content"/></div>
47 </body>
48 </html>
49</xsl:template>
50</xsl:stylesheet>
Note: See TracBrowser for help on using the repository browser.