source: trunk/superbib01_html.xsl

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

usage of option directive

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