source: trunk/SRC/Documentation/xmldoc/saxo_html.xsl @ 356

Last change on this file since 356 was 345, checked in by pinsard, 16 years ago

migration from DocBook? 4 to Docbook 5 : sources and production tools

  • Property svn:keywords set to Id
File size: 1.7 KB
Line 
1<?xml version='1.0' encoding='ISO-8859-1'?> 
2<xsl:stylesheet
3version="1.0"
4xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
5<!--
6module :
7transformation docbook en un html
8
9source :
10./SAXO_DIR/SRC/Documentation/xmldoc/saxo_html.xsl sur aedon.locean-ipsl.upmc.fr
11
12update
13$Id$
14fplod 2006-07-11T08:51:41Z aedon.locean-ipsl.upmc.fr (Darwin)
15modif d'après http://www.sagehill.net/docbookxsl/ModifyElemTemplates.html
16pour mettre autour et email comme le souhaite Gurvan
17et mettre pubdate
18-->
19
20<!-- if there is some trouble with network, you can replace the following line
21by this one on Mac
22-->
23<xsl:import href="http://docbook.sourceforge.net/release/xsl/current/html/docbook.xsl"/>
24
25<!-- for Mac without network
26<xsl:import href="/sw/share/xml/xsl/docbook-xsl/html/docbook.xsl"/>
27-->
28<xsl:output method="xml"
29encoding="utf-8"
30indent="yes"
31omit-xml-declaration="no"
32doctype-public="-//W3C//DTD XHTML 1.0 Strict//EN"
33doctype-system="http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"/>
34
35<xsl:include href="titlepage.saxo.xsl"/>
36
37<xsl:template match="*" mode="book.titlepage.mode"/>
38
39<xsl:template match="author" mode="titlepage.mode">
40  <div class="{name(.)}">
41    <h3 class="{name(.)}"><xsl:call-template name="person.name"/>
42    <xsl:text> </xsl:text>
43    <xsl:apply-templates mode="titlepage.mode" select="./email"/>
44    </h3>
45    <xsl:apply-templates mode="titlepage.mode" select="./contrib"/>
46    <xsl:apply-templates mode="titlepage.mode" select="./affiliation"/>
47  </div>
48</xsl:template>
49
50<xsl:template match="pubdate" mode="titlepage.mode">
51  <span class="{name(.)}">
52    <xsl:text>svn Id of xml source file : </xsl:text>
53    <xsl:apply-templates mode="titlepage.mode"/>
54    <br/>
55    <br/>
56  </span>
57</xsl:template>
58
59</xsl:stylesheet>
Note: See TracBrowser for help on using the repository browser.