Changeset 55 for trunk/superbib01_xml.xsl
- Timestamp:
- 04/29/08 14:25:55 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/superbib01_xml.xsl
r49 r55 1 1 <?xml version="1.0" encoding="iso-8859-1"?> 2 <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> 2 <xsl:stylesheet 3 version="1.0" 4 xmlns:xl="http://www.w3.org/1999/xlink" 5 xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> 3 6 4 7 <!-- 5 8 module : 6 sortir les références bibliographiques par pseudo-année 9 produce a DocBook 5 with bibliograhy references sorted by years 7 10 8 11 update : 9 12 $Id$ 10 13 ++ plein de trucs 14 fplod 2008-04-29T07:46:20Z aedon.locean-ipsl.upmc.fr (Darwin) 15 chgt for dbk5 11 16 fplod 2007-10-17T08:01:14Z aedon.locean-ipsl.upmc.fr (Darwin) 12 17 improve authors sort (diacriticals) … … 28 33 method="xml" 29 34 indent="yes" 30 encoding="ISO-8859-1" 31 omit-xml-declaration="no" 32 doctype-public="-//OASIS//DTD DocBook XML V4.5//EN" 33 doctype-system="http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd"/> 35 omit-xml-declaration="no"/> 34 36 35 37 <xsl:include href="biblioentry_xml.xsl"/> … … 43 45 --> 44 46 <xsl:element name="informaltable"> 45 <xsl:attribute name=" id">years</xsl:attribute>47 <xsl:attribute name="xml:id">years</xsl:attribute> 46 48 <xsl:attribute name="summary">years of publications</xsl:attribute> 47 49 <xsl:element name="tgroup"> … … 63 65 <xsl:element name="entry"> 64 66 <xsl:attribute name="colname"><xsl:text>year_</xsl:text><xsl:value-of select="."/></xsl:attribute> 65 <xsl:element name=" ulink">66 <xsl:attribute name=" url"><xsl:text>#year_</xsl:text><xsl:value-of select="."/></xsl:attribute>67 <xsl:element name="link"> 68 <xsl:attribute name="xl:href"><xsl:text>#year_</xsl:text><xsl:value-of select="."/></xsl:attribute> 67 69 <xsl:value-of select="."/> 68 70 </xsl:element> … … 109 111 <xsl:template match="bibliography"> 110 112 111 <article lang="en"> 113 <xsl:element name="article"> 114 <xsl:attribute name="version">5.0</xsl:attribute> 115 <xsl:attribute name="xmlns">http://docbook.org/ns/docbook</xsl:attribute> 116 <xsl:attribute name="xml:lang">en</xsl:attribute> 112 117 <title>NEMO - Publications - Papers by years</title> 113 < articleinfo>118 <info> 114 119 <authorgroup> 115 120 <author><personname><firstname>Sébastien</firstname> <surname>Masson</surname></personname></author> … … 121 126 </keywordset> 122 127 <!-- ++ date --> 123 </articleinfo> 124 <highlights id="top"> 125 <para> 128 </info> 129 <para xml:id="top"> 126 130 This page intents to provide an exhaustive list of the papers that have used 127 131 NEMO or OPA and/or results from them. 128 132 Obvioulsy many papers are missing. 129 133 If you find omissions or mistakes please ask some modification via 130 <xsl:element name=" ulink">131 <xsl:attribute name=" url">134 <xsl:element name="link"> 135 <xsl:attribute name="xl:href"> 132 136 <xsl:value-of select="'./main.php'"/> 133 137 </xsl:attribute> … … 135 139 </xsl:element>. 136 140 </para> 137 </highlights>138 141 <para> 139 142 You can also see <quote>NEMO - Publications - Papers</quote> sorted by 140 143 authors in 141 <xsl:element name=" ulink">142 <xsl:attribute name=" url">144 <xsl:element name="link"> 145 <xsl:attribute name="xl:href"> 143 146 <xsl:value-of select="'./superbib02.html'"/> 144 147 </xsl:attribute> … … 146 149 </xsl:element> 147 150 <xsl:text> or in </xsl:text> 148 <xsl:element name=" ulink">149 <xsl:attribute name=" url">151 <xsl:element name="link"> 152 <xsl:attribute name="xl:href"> 150 153 <xsl:value-of select="'../many/superbib01/index.html'"/> 151 154 </xsl:attribute> … … 160 163 <xsl:call-template name="years"/> 161 164 162 <figure id="fig_pubbyyears"><title>Nb of publications by years</title>165 <figure xml:id="fig_pubbyyears"><title>Nb of publications by years</title> 163 166 <mediaobject> 164 167 <imageobject> … … 169 172 </figure> 170 173 171 <sect1 id="intro">174 <sect1 xml:id="intro"> 172 175 <title>Introduction</title> 173 176 <para> … … 183 186 </xsl:call-template> 184 187 </xsl:for-each> 185 </ article>188 </xsl:element> 186 189 </xsl:template> 187 190 … … 199 202 --> 200 203 <xsl:element name="sect1"> 201 <xsl:attribute name=" id"><xsl:value-of select="concat('year_',$year)"/></xsl:attribute>204 <xsl:attribute name="xml:id"><xsl:value-of select="concat('year_',$year)"/></xsl:attribute> 202 205 <xsl:element name="title"> 203 206 <xsl:value-of select="$year"/> 204 <xsl:element name=" ulink">205 <xsl:attribute name=" url"><xsl:text>#top</xsl:text></xsl:attribute>207 <xsl:element name="link"> 208 <xsl:attribute name="xl:href"><xsl:text>#top</xsl:text></xsl:attribute> 206 209 <xsl:element name="inlinemediaobject"> 207 210 <xsl:element name="imageobject">
Note: See TracChangeset
for help on using the changeset viewer.