source: projects/vine-manual-build/trunk/web.xsl @ 840

Revision 840, 2.2 KB checked in by yasumichi, 14 years ago (diff)

first import

Line 
1<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version='1.0'>
2
3        <xsl:import href="/usr/share/sgml/docbook/xsl-stylesheets/xhtml/chunk.xsl"/>
4        <xsl:param name="html.stylesheet">web.css</xsl:param>
5
6        <xsl:param name="toc.section.depth">1</xsl:param>
7        <xsl:param name="section.autolabel">1</xsl:param>
8        <xsl:param name="section.label.includes.component.label">1</xsl:param>
9        <xsl:param name="use.id.as.filename">1</xsl:param>
10        <xsl:param name="css.decoration">0</xsl:param>
11        <xsl:param name="root.filename" />
12        <xsl:param name="admon.style" />
13
14        <xsl:template match="question" mode="label.markup">
15                <xsl:text>Q</xsl:text>
16                <xsl:number level="multiple" count="qandaentry" format="1"/>
17        </xsl:template>
18        <xsl:template match="answer" mode="label.markup">
19                <xsl:text>A</xsl:text>
20                <xsl:number level="multiple" count="qandaentry" format="1"/>
21        </xsl:template>
22
23
24        <xsl:template name="chunk-element-content">
25                <xsl:param name="prev"/>
26                <xsl:param name="next"/>
27                <xsl:param name="nav.context"/>
28                <xsl:param name="content">
29                        <xsl:apply-imports/>
30                </xsl:param>
31
32                <xsl:call-template name="user.preroot"/>
33
34                <html>
35                        <xsl:call-template name="html.head">
36                                <xsl:with-param name="prev" select="$prev"/>
37                                <xsl:with-param name="next" select="$next"/>
38                        </xsl:call-template>
39
40                        <body>
41                                <![CDATA[%HEADMENU%]]>
42                                <div id="mainarea">
43                                        <div id="leftarea">
44                                                <p><a href="/index.html"><img src="../vinelogo-new.png" alt="Vine Linux" width="150" height="150" /></a></p>
45                                                <![CDATA[%INDEX%]]>
46                                        </div>
47                                        <div id="content">
48                                                <xsl:call-template name="header.navigation">
49                                                        <xsl:with-param name="prev" select="$prev"/>
50                                                        <xsl:with-param name="next" select="$next"/>
51                                                        <xsl:with-param name="nav.context" select="$nav.context"/>
52                                                </xsl:call-template>
53
54                                                <xsl:copy-of select="$content"/>
55
56                                                <xsl:call-template name="footer.navigation">
57                                                        <xsl:with-param name="prev" select="$prev"/>
58                                                        <xsl:with-param name="next" select="$next"/>
59                                                        <xsl:with-param name="nav.context" select="$nav.context"/>
60                                                </xsl:call-template>
61
62                                                <xsl:call-template name="user.footer.navigation"/>
63                                        </div><!-- id="content" -->
64                                </div><!-- id="mainarea" -->
65                                <![CDATA[%FOOTER%]]>
66                        </body>
67                </html>
68        </xsl:template>
69
70</xsl:stylesheet>
71
Note: See TracBrowser for help on using the repository browser.