1 | <?xml version='1.0' encoding='ISO-8859-1'?> |
---|
2 | <xsl:stylesheet |
---|
3 | xmlns:d="http://docbook.org/ns/docbook" |
---|
4 | xmlns:xsl="http://www.w3.org/1999/XSL/Transform" |
---|
5 | version="1.0"> |
---|
6 | |
---|
7 | <!--rst |
---|
8 | |
---|
9 | NAME |
---|
10 | ==== |
---|
11 | |
---|
12 | transformation docbook en plusieurs html (#2) |
---|
13 | |
---|
14 | TODO |
---|
15 | ==== |
---|
16 | |
---|
17 | W3C conformity : while tidy seems to be happy, amaya find a lot of errors ?! |
---|
18 | |
---|
19 | EVOLUTIONS |
---|
20 | ========== |
---|
21 | |
---|
22 | $Id$ |
---|
23 | |
---|
24 | - fplod 2009-04-23T08:09:55Z aedon.locean-ipsl.upmc.fr (Darwin) |
---|
25 | |
---|
26 | * creation from regyna-si dev. |
---|
27 | * no language support here |
---|
28 | |
---|
29 | --> |
---|
30 | |
---|
31 | <xsl:import href="http://docbook.sourceforge.net/release/xsl/1.75.2/xhtml/chunk.xsl"/> |
---|
32 | |
---|
33 | <xsl:output method="xml" |
---|
34 | encoding="utf-8" |
---|
35 | indent="yes" |
---|
36 | omit-xml-declaration="no" |
---|
37 | doctype-public="-//W3C//DTD XHTML 1.0 Strict//EN" |
---|
38 | doctype-system="http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"/> |
---|
39 | |
---|
40 | <xsl:include href="message_lang.xsl"/> |
---|
41 | <xsl:include href="navigation02_html.xsl"/> |
---|
42 | |
---|
43 | <xsl:param name="navig.showtitles">0</xsl:param> |
---|
44 | <xsl:param name="suppress.navigation">1</xsl:param> |
---|
45 | |
---|
46 | <xsl:param name="section.autolabel" select="0"/> |
---|
47 | <xsl:param name="chaper.autolabel" select="0"/> |
---|
48 | <xsl:param name="css.decoration" select="0"/> |
---|
49 | <xsl:param name="chunk.section.depth" select="2"/> |
---|
50 | <xsl:param name="chunk.first.sections" select="1"></xsl:param> |
---|
51 | |
---|
52 | <xsl:param name="use.id.as.filename" select="1"/> |
---|
53 | <xsl:param name="chunker.output.doctype-public">-//W3C//DTD XHTML 1.0 Strict//EN</xsl:param> |
---|
54 | <xsl:param name="chunker.output.omit-xml-declaration">no</xsl:param> |
---|
55 | <xsl:param name="chunker.output.encoding">utf-8</xsl:param> |
---|
56 | <xsl:param name="chunker.output.indent">yes</xsl:param> |
---|
57 | <xsl:param name="doctype-system">"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"</xsl:param> |
---|
58 | <xsl:param name="generate.toc"> |
---|
59 | book toc,figure,table |
---|
60 | part nop |
---|
61 | chapter nop |
---|
62 | sect1 nop |
---|
63 | sect2 nop |
---|
64 | sect3 nop |
---|
65 | sect4 nop |
---|
66 | </xsl:param> |
---|
67 | <!-- |
---|
68 | <xsl:param name="bibliography.style">normal</xsl:param> |
---|
69 | --> |
---|
70 | <xsl:param name="bibliography.style">iso690</xsl:param> |
---|
71 | |
---|
72 | <!-- |
---|
73 | Customization of footer navigation area |
---|
74 | --> |
---|
75 | <xsl:template name="user.footer.navigation"> |
---|
76 | <hr/> |
---|
77 | <xsl:call-template name="para_lastupdate"> |
---|
78 | <xsl:with-param name="language" select="$language"/> |
---|
79 | <xsl:with-param name="date" select="$makedate"/> |
---|
80 | <xsl:with-param name="mode" select="'html'"/> |
---|
81 | </xsl:call-template> |
---|
82 | </xsl:template> |
---|
83 | |
---|
84 | <xsl:template name="user.header.navigation"> |
---|
85 | <xsl:element name="div"> |
---|
86 | <xsl:attribute name="id"> |
---|
87 | <xsl:value-of select="'header_title'"/> |
---|
88 | </xsl:attribute> |
---|
89 | <xsl:element name="ul"> |
---|
90 | <xsl:element name="li"> |
---|
91 | <xsl:attribute name="id"> |
---|
92 | <xsl:value-of select="'logo'"/> |
---|
93 | </xsl:attribute> |
---|
94 | <xsl:element name="a"> |
---|
95 | <xsl:attribute name="href"> |
---|
96 | <xsl:value-of select="'./index.html'"/> |
---|
97 | </xsl:attribute> |
---|
98 | <xsl:element name="img"> |
---|
99 | <xsl:attribute name="src"> |
---|
100 | <xsl:value-of select="'../../../images/logo2.bmp'"/> |
---|
101 | </xsl:attribute> |
---|
102 | <xsl:attribute name="class"> |
---|
103 | <xsl:value-of select="'logo'"/> |
---|
104 | </xsl:attribute> |
---|
105 | <xsl:attribute name="alt"> |
---|
106 | <xsl:value-of select="'[logo ncstat]'"/> |
---|
107 | </xsl:attribute> |
---|
108 | </xsl:element> |
---|
109 | </xsl:element> |
---|
110 | </xsl:element> |
---|
111 | <xsl:element name="li"> |
---|
112 | <xsl:attribute name="id"> |
---|
113 | <xsl:value-of select="'title'"/> |
---|
114 | </xsl:attribute> |
---|
115 | <xsl:value-of select="//book//title"/> |
---|
116 | </xsl:element> |
---|
117 | </xsl:element> |
---|
118 | </xsl:element> |
---|
119 | <!-- not yet ... |
---|
120 | <xsl:call-template name="language_choice"> |
---|
121 | <xsl:with-param name="language" select="$language"/> |
---|
122 | <xsl:with-param name="level" select="'many'"/> |
---|
123 | <xsl:with-param name="style" select="'2'"/> |
---|
124 | </xsl:call-template> |
---|
125 | --> |
---|
126 | <xsl:call-template name="navigation02_html"/> |
---|
127 | </xsl:template> |
---|
128 | |
---|
129 | </xsl:stylesheet> |
---|