Last change
on this file since 415 was
410,
checked in by pinsard, 15 years ago
|
no more titlepage usage for XML processing
|
-
Property svn:keywords set to
Id
|
File size:
1.6 KB
|
Rev | Line | |
---|
[139] | 1 | <?xml version='1.0' encoding='ISO-8859-1'?> |
---|
[345] | 2 | <xsl:stylesheet |
---|
| 3 | version="1.0" |
---|
| 4 | xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> |
---|
[139] | 5 | <!-- |
---|
[410] | 6 | |
---|
| 7 | module |
---|
| 8 | ====== |
---|
| 9 | |
---|
[139] | 10 | transformation docbook en un html |
---|
| 11 | |
---|
[410] | 12 | FILES |
---|
| 13 | ===== |
---|
| 14 | |
---|
[139] | 15 | ./SAXO_DIR/SRC/Documentation/xmldoc/saxo_html.xsl sur aedon.locean-ipsl.upmc.fr |
---|
| 16 | |
---|
[410] | 17 | EVOLUTIONS |
---|
| 18 | ========== |
---|
| 19 | |
---|
[139] | 20 | $Id$ |
---|
[410] | 21 | |
---|
| 22 | - fplod 20091106T150707Z aedon.locean-ipsl.upmc.fr (Darwin) |
---|
| 23 | |
---|
| 24 | * suppression de titlepage |
---|
| 25 | |
---|
| 26 | - fplod 2006-07-11T08:51:41Z aedon.locean-ipsl.upmc.fr (Darwin) |
---|
| 27 | |
---|
| 28 | * modif d'après http://www.sagehill.net/docbookxsl/ModifyElemTemplates.html |
---|
| 29 | pour mettre auteur et email comme le souhaite Gurvan |
---|
| 30 | et mettre pubdate |
---|
[139] | 31 | --> |
---|
| 32 | |
---|
| 33 | <xsl:import href="http://docbook.sourceforge.net/release/xsl/current/html/docbook.xsl"/> |
---|
| 34 | |
---|
| 35 | <xsl:output method="xml" |
---|
| 36 | encoding="utf-8" |
---|
| 37 | indent="yes" |
---|
| 38 | omit-xml-declaration="no" |
---|
| 39 | doctype-public="-//W3C//DTD XHTML 1.0 Strict//EN" |
---|
| 40 | doctype-system="http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"/> |
---|
| 41 | |
---|
| 42 | <xsl:template match="*" mode="book.titlepage.mode"/> |
---|
| 43 | |
---|
| 44 | <xsl:template match="author" mode="titlepage.mode"> |
---|
| 45 | <div class="{name(.)}"> |
---|
| 46 | <h3 class="{name(.)}"><xsl:call-template name="person.name"/> |
---|
| 47 | <xsl:text> </xsl:text> |
---|
| 48 | <xsl:apply-templates mode="titlepage.mode" select="./email"/> |
---|
| 49 | </h3> |
---|
| 50 | <xsl:apply-templates mode="titlepage.mode" select="./contrib"/> |
---|
| 51 | <xsl:apply-templates mode="titlepage.mode" select="./affiliation"/> |
---|
| 52 | </div> |
---|
| 53 | </xsl:template> |
---|
| 54 | |
---|
| 55 | <xsl:template match="pubdate" mode="titlepage.mode"> |
---|
| 56 | <span class="{name(.)}"> |
---|
| 57 | <xsl:text>svn Id of xml source file : </xsl:text> |
---|
| 58 | <xsl:apply-templates mode="titlepage.mode"/> |
---|
| 59 | <br/> |
---|
| 60 | <br/> |
---|
| 61 | </span> |
---|
| 62 | </xsl:template> |
---|
| 63 | |
---|
| 64 | </xsl:stylesheet> |
---|
Note: See
TracBrowser
for help on using the repository browser.