1 | <?xml version='1.0' encoding='ISO-8859-1'?> |
---|
2 | <xsl:stylesheet |
---|
3 | version="1.0" |
---|
4 | xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> |
---|
5 | <!-- |
---|
6 | module : |
---|
7 | transformation docbook en un html |
---|
8 | |
---|
9 | source : |
---|
10 | ./SAXO_DIR/SRC/Documentation/xmldoc/saxo_html.xsl sur aedon.locean-ipsl.upmc.fr |
---|
11 | |
---|
12 | update |
---|
13 | $Id$ |
---|
14 | fplod 2006-07-11T08:51:41Z aedon.locean-ipsl.upmc.fr (Darwin) |
---|
15 | modif d'après http://www.sagehill.net/docbookxsl/ModifyElemTemplates.html |
---|
16 | pour mettre autour et email comme le souhaite Gurvan |
---|
17 | et mettre pubdate |
---|
18 | --> |
---|
19 | |
---|
20 | <!-- if there is some trouble with network, you can replace the following line |
---|
21 | by 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" |
---|
29 | encoding="utf-8" |
---|
30 | indent="yes" |
---|
31 | omit-xml-declaration="no" |
---|
32 | doctype-public="-//W3C//DTD XHTML 1.0 Strict//EN" |
---|
33 | doctype-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> |
---|