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 | extension-element-prefixes="java"
|
---|
6 | exclude-result-prefixes="java">
|
---|
7 |
|
---|
8 | <xsl:output method="html"/>
|
---|
9 | <xsl:include href="common.xsl"/>
|
---|
10 |
|
---|
11 | <xsl:template match="Manual">
|
---|
12 | <html>
|
---|
13 | <head><title><xsl:value-of select="Title/Text"/></title></head>
|
---|
14 | <link rel="stylesheet" href="../../style.css" type="text/css"/>
|
---|
15 | <body>
|
---|
16 | <h2><xsl:apply-templates select="Heading/Text"/></h2>
|
---|
17 | <h1><xsl:apply-templates select="Title/Text"/></h1>
|
---|
18 |
|
---|
19 | <xsl:apply-templates select="Author"/>
|
---|
20 | <xsl:apply-templates select="Affiliation"/>
|
---|
21 |
|
---|
22 | <div class="indexlink"><a href="../../index.html"><xsl:value-of select="/Manual/SupplementaryText/Text[@id='top_index']"/></a></div>
|
---|
23 |
|
---|
24 | <xsl:apply-templates select="Text"/>
|
---|
25 | <xsl:apply-templates select="Comment"/>
|
---|
26 | <xsl:call-template name="version_and_date"/>
|
---|
27 |
|
---|
28 | <xsl:apply-templates select="Section" mode="preface"/>
|
---|
29 |
|
---|
30 | <h3>Contents</h3>
|
---|
31 | <dl>
|
---|
32 | <xsl:apply-templates select="Chapter"/>
|
---|
33 | </dl>
|
---|
34 |
|
---|
35 | <hr/>
|
---|
36 | <div style="text-align:center;"><xsl:apply-templates select="/Manual/Section[@id='copyright']/Content"/></div>
|
---|
37 | </body>
|
---|
38 | </html>
|
---|
39 | </xsl:template>
|
---|
40 |
|
---|
41 | <xsl:template match="Chapter">
|
---|
42 | <dt><a href="Chapter_{@id}.htm"><xsl:apply-templates select="Title/Text"/></a></dt>
|
---|
43 | <xsl:for-each select="Content/Section"><dd><xsl:apply-templates select="Title/Text"/></dd></xsl:for-each>
|
---|
44 | </xsl:template>
|
---|
45 | </xsl:stylesheet>
|
---|