source: trunk/main_html.xsl

Last change on this file was 108, checked in by pinsard, 13 years ago

usage of option directive

  • Property svn:keywords set to Id
File size: 2.2 KB
Line 
1<?xml version='1.0' encoding='ISO-8859-1'?>
2<xsl:stylesheet
3xmlns:d="http://docbook.org/ns/docbook"
4xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
5xmlns:html="http://www.w3.org/1999/xhtml"
6version="1.0">
7
8<!--rst
9
10.. _main_html.xsl:
11
12=============
13main_html.xsl
14=============
15
16transformation docbook en html avec formulaire
17
18EVOLUTIONS
19==========
20
21$Id$
22
23- fplod 2008-09-17T10:23:44Z aedon.locean-ipsl.upmc.fr (Darwin)
24
25  * add a link to project homepage at the bottom of the page
26
27- fplod 2008-04-30T15:23:38Z aedon.locean-ipsl.upmc.fr (Darwin)
28
29  * language inherited from biblio.xml
30
31- fplod 2008-04-28T11:02:38Z aedon.locean-ipsl.upmc.fr (Darwin)
32
33  * input dbk5
34
35- fplod 2007-04-18T08:15:46Z aedon.locean-ipsl.upmc.fr (Darwin)
36
37  * création
38
39-->
40
41<xsl:import href="http://docbook.sourceforge.net/release/xsl/current/xhtml/docbook.xsl"/>
42
43<xsl:output method="xml"
44encoding="utf-8"
45indent="yes"
46omit-xml-declaration="yes"
47doctype-public="-//W3C//DTD XHTML 1.0 Strict//EN"
48doctype-system="http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"/>
49
50<xsl:include href="titlepage.superbib.xsl"/>
51<xsl:include href="message_lang.xsl"/>
52<xsl:include href="form_html.xsl"/>
53
54<xsl:template match="*" mode="book.titlepage.mode"/>
55<xsl:param name="generate.toc">
56article nop
57</xsl:param>
58<xsl:param name="css.decoration" select="0"/>
59<xsl:param name="section.autolabel" select="0"/>
60
61<!--
62Personalisation de bas de page
63-->
64<xsl:template name="user.footer.content">
65 <xsl:call-template name="para_lastupdate">
66  <xsl:with-param name="language" select="document('biblio.xml')/d:bibliography/@xml:lang"/>
67  <xsl:with-param name="date" select="$makedate"/>
68  <xsl:with-param name="mode" select="'html'"/>
69 </xsl:call-template>
70
71 <hr/>
72 <para>
73 <xsl:call-template name="back">
74  <xsl:with-param name="language" select="document('biblio.xml')/d:bibliography/@xml:lang"/>
75 </xsl:call-template>
76 <xsl:text> </xsl:text>
77 <xsl:element name="a">
78  <xsl:attribute name="href">
79   <xsl:value-of select="document('main.xml')//d:bibliosource[@xml:id='homepage']"/>
80  </xsl:attribute>
81  <xsl:value-of select="document('main.xml')//d:keyword[@xml:id='project']"/> home page
82  </xsl:element>
83  </para>
84
85</xsl:template>
86
87</xsl:stylesheet>
Note: See TracBrowser for help on using the repository browser.