source: trunk/adm/guides/main_many01_html.xsl @ 89

Last change on this file since 89 was 68, checked in by pinsard, 14 years ago

projects homogenisation

File size: 2.8 KB
Line 
1<?xml version='1.0' encoding="iso-8859-1"?>
2<xsl:stylesheet
3xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
4xmlns:xl="http://www.w3.org/1999/xlink"
5xmlns:d="http://docbook.org/ns/docbook"
6version="1.0">
7<!--
8
9MODULE
10======
11
12transformation en plusieurs fichiers html
13
14TODO
15====
16
17robot policy
18
19do not show book/info
20
21EVOLUTIONS
22==========
23
24$Id$
25
26
27- fplod 2009-05-15T10:42:45Z aedon.locean-ipsl.upmc.fr (Darwin)
28
29  * creation
30
31-->
32
33<xsl:import href="http://docbook.sourceforge.net/release/xsl/1.75.2/xhtml/chunk.xsl"/>
34
35<xsl:output method="xml"
36encoding="utf-8"
37indent="yes"
38omit-xml-declaration="no"
39doctype-public="-//W3C//DTD XHTML 1.0 Strict//EN"
40doctype-system="http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"/>
41
42<xsl:param name="chunker.output.doctype-public">-//W3C//DTD XHTML 1.0 Strict//EN</xsl:param>
43<xsl:param name="chunker.output.omit-xml-declaration">no</xsl:param>
44<xsl:param name="chunker.output.encoding">utf-8</xsl:param>
45<xsl:param name="chunker.output.indent">yes</xsl:param>
46<xsl:param name="doctype-system">"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"</xsl:param>
47
48<xsl:param name="chunk.first.sections" select="0"/>
49<xsl:param name="chunk.section.depth" select="0"/>
50<xsl:param name="use.id.as.filename" select="1"/>
51<xsl:param name="css.decoration">1</xsl:param>
52<xsl:param name="chapter.autolabel" select="0"/>
53<xsl:param name="section.autolabel" select="0"/>
54
55<xsl:param name="generate.toc">
56book toc,figure,table
57chapter nop
58sect1 nop
59sect2 nop
60sect3 nop
61sect4 nop
62</xsl:param>
63
64<!--
65special moche (NOM) et manque les éditeurs ++
66<xsl:param name="bibliography.style">iso690</xsl:param>
67-->
68
69<!--
70d'après chunk-code.xsl
71template suivant pour forçage des chemins des fichiers "images"
72si dans le source xml on écrit
73<imagedata fileref="Nasa_langley.jpg" .../>
74on aura dans le html
75<img src="../../images/Nasa_langley.jpg" ... >
76tout ça à cause de la gestion des "." dans chunk-code.xsl
77c'est un peu violent mais je ne comprends pas comment fonctionne
78<xsl:template name="relative-uri"> de common/common.xsl
79-->
80<xsl:template match="@fileref">
81 <xsl:value-of select="concat('../../images/',.)"/>
82</xsl:template>
83
84<!--
85do not show book/info ++
86-->
87<xsl:template match="/d:book/d:info">
88<xsl:message terminate="no">
89/d:book/d:info
90</xsl:message>
91</xsl:template>
92<xsl:template match="d:book/d:info">
93<xsl:message terminate="no">
94d:book/d:info
95</xsl:message>
96</xsl:template>
97<xsl:template match="//d:book/d:info">
98<xsl:message terminate="no">
99//d:book/d:info
100</xsl:message>
101</xsl:template>
102<xsl:template match="d:info">
103<xsl:message terminate="no">
104d:info
105</xsl:message>
106</xsl:template>
107
108<xsl:template match="info">
109<xsl:message terminate="no">
110info
111</xsl:message>
112</xsl:template>
113
114<xsl:template name="user.head.content">
115 <meta name="robots">
116  <xsl:attribute name="content">noindex,nofollow,noarchive</xsl:attribute>
117 </meta>
118</xsl:template>
119
120</xsl:stylesheet>
Note: See TracBrowser for help on using the repository browser.