Changeset 152 for trunk/superbib02_rest.xsl
- Timestamp:
- 02/29/12 17:14:19 (12 years ago)
- File:
-
- 1 copied
Legend:
- Unmodified
- Added
- Removed
-
trunk/superbib02_rest.xsl
r151 r152 8 8 <!--rst 9 9 10 .. _superbib02_ xml.xsl:10 .. _superbib02_rest.xsl: 11 11 12 ================== 13 superbib02_ xml.xsl14 ================== 12 =================== 13 superbib02_rest.xsl 14 =================== 15 15 16 16 produce a DocBook 5 with bibliograhy references sorted by authors … … 19 19 ==== 20 20 21 make it beautifull 22 21 23 EVOLUTIONS 22 24 ========== … … 24 26 $Id$ 25 27 26 - fplod 20110629T135204Z cratos.locean-ipsl.upmc.fr (Linux) 28 $URL$ 27 29 28 * authorgroup is found in main.xml 30 - fplod 20120229 29 31 30 - fplod 2008-09-17T10:40:43Z aedon.locean-ipsl.upmc.fr (Darwin) 31 32 * project name from main.xml file instead of a fixed one 33 34 - fplod 2008-04-30T15:02:03Z aedon.locean-ipsl.upmc.fr (Darwin) 35 36 * language inherited from biblio.xml 37 38 - fplod 2008-04-29T08:01:08Z aedon.locean-ipsl.upmc.fr (Darwin) 39 40 * chgt for dbk5 41 42 - fplod 2007-10-17T07:49:19Z aedon.locean-ipsl.upmc.fr (Darwin) 43 44 * improve sort (diacriticals) 45 46 - fplod 2007-05-18T14:31:33Z aedon.locean-ipsl.upmc.fr (Darwin) 47 48 * modif gestion id 49 50 - fplod 2007-05-16T15:15:36Z aedon.locean-ipsl.upmc.fr (Darwin) 51 52 * correction pour homonymes partiels 53 54 - fplod 2007-05-04T08:17:56Z aedon.locean-ipsl.upmc.fr (Darwin) 55 56 * externalisation de biblioentry 57 58 - fplod 2007-04-02T08:53:30Z aedon.locean-ipsl.upmc.fr (Darwin) 59 60 * journal dans biblioset 61 62 - fplod 2007-03-30T12:38:34Z aedon.locean-ipsl.upmc.fr (Darwin) 63 64 * creation 32 * creation from superbib02_xml.xsl 65 33 66 34 --> … … 68 36 69 37 <xsl:output 70 method="xml" 71 indent="yes" 72 encoding="utf-8" 73 omit-xml-declaration="no"/> 38 method="text" 39 indent="yes"/> 74 40 75 41 <xsl:include href="firstname_id.xsl"/> 76 42 <xsl:include href="surname_id.xsl"/> 77 43 <xsl:include href="table_authors.xsl"/> 78 <xsl:include href="biblioentry_ xml.xsl"/>44 <xsl:include href="biblioentry_rest.xsl"/> 79 45 80 46 <xsl:variable name="list_author_ids" select="///d:author[not( self::node() = following::d:author )]"/> … … 86 52 <xsl:template match="d:bibliography"> 87 53 88 <xsl:element name="article"> 89 <xsl:attribute name="version">5.0</xsl:attribute> 90 <xsl:attribute name="xmlns">http://docbook.org/ns/docbook</xsl:attribute> 91 <xsl:attribute name="xml:lang"><xsl:value-of select="@xml:lang"/></xsl:attribute> 92 <title><xsl:value-of select="$project"/> - Publications - Papers by authors</title> 93 <info> 94 <authorgroup> 95 <xsl:copy-of select="document('main.xml')//d:info/d:authorgroup"/> 96 </authorgroup> 97 <keywordset> 98 <keyword><xsl:value-of select="$project"/></keyword> 99 </keywordset> 100 <!-- ++ date --> 101 </info> 102 <para xml:id="top"> 103 This page intents to provide an exhaustive list of the papers that have used <xsl:value-of select="$project"/> and/or results from them. Obvioulsy many papers are missing. If you find omissions or mistakes please ask some modification via 104 <xsl:element name="link"> 105 <xsl:attribute name="xl:href"> 106 <xsl:value-of select="'./main.php'"/> 107 </xsl:attribute> 54 <xsl:value-of select="$project"/> - Publications - Papers by authors 55 ==================================================================== 56 57 .. meta:: 58 :keyword: <xsl:value-of select="$project"/> 59 60 .. _top: 61 62 This page intents to provide an exhaustive list of the papers that have used <xsl:value-of select="$project"/> and/or results from them. Obvioulsy many papers are missing. If you find omissions or mistakes please ask some modification via 63 ++lien <xsl:value-of select="'./main.php'"/> 108 64 <xsl:value-of select="document('main.xml')/d:article/d:title"/> 109 <xsl:text> main page</xsl:text> 110 </xsl:element>. 111 </para> 112 <para> 113 You can also see <quote><xsl:value-of select="$project"/> - Publications - Papers</quote> sorted by 114 <xsl:element name="link"> 115 <xsl:attribute name="xl:href"> 116 <xsl:value-of select="'./superbib01.html'"/> 117 </xsl:attribute> 65 66 You can also see **<xsl:value-of select="$project"/> - Publications - Papers** sorted by 67 ++lien <xsl:value-of select="'./superbib01.html'"/> 68 118 69 <xsl:text>years</xsl:text> 119 </xsl:element>.120 </para>121 70 122 71 <xsl:call-template name="para_lastupdate_bib"> 123 72 <xsl:with-param name="language" select="@xml:lang"/> 73 <xsl:with-param name="date" select="'ginette'"/> 74 <!-- ++ 124 75 <xsl:with-param name="date" select="d:info/d:date"/> 76 --> 77 <xsl:with-param name="mode" select="'rest'"/> 125 78 </xsl:call-template> 126 79 127 <sect1 xml:id="intro"> 128 <title>Introduction</title> 129 <para> 130 This document provide bibliography sorted by author's id (<emphasis>SURNAME_f</emphasis>). 131 </para> 80 .. _intro: 81 82 Introduction 83 ============= 84 85 This document provide bibliography sorted by author's id (**SURNAME_f**). 132 86 133 87 <xsl:call-template name="table_authors"> 134 88 <xsl:with-param name="linktype" select="'internal'"/> 135 89 </xsl:call-template> 136 </sect1>137 90 138 91 <!-- loop on author_ids --> … … 148 101 </xsl:call-template> 149 102 </xsl:variable> 150 <!--151 <xsl:message terminate="no">152 noeud courant <xsl:value-of select="name(.)"/>153 author <xsl:value-of select="ancestor::d:author"/>154 author_id2 <xsl:value-of select="$author_id2"/>155 </xsl:message>156 -->157 103 <xsl:call-template name="one_author_id"> 158 104 <xsl:with-param name="author_id" select="$author_id2"/> … … 161 107 </xsl:for-each> 162 108 163 </xsl:element>164 109 </xsl:template> 165 110 … … 170 115 <xsl:param name="author_id"/> 171 116 <xsl:param name="author_name"/> 172 <xsl:element name="sect1"> 173 <xsl:attribute name="xml:id"> 174 <xsl:value-of select="$author_id"/> 175 </xsl:attribute> 176 <xsl:element name="title"> 117 118 .. _<xsl:value-of select="$author_id"/>: 119 177 120 <xsl:value-of select="normalize-space($author_name/d:personname/d:firstname)"/><xsl:text> </xsl:text><xsl:value-of select="normalize-space($author_name/d:personname/d:surname)"/> 178 <xsl:element name="link"> 179 <xsl:attribute name="xl:href"><xsl:text>#top</xsl:text></xsl:attribute> 180 <xsl:element name="inlinemediaobject"> 181 <xsl:element name="imageobject"> 182 <xsl:element name="imagedata"> 183 <xsl:attribute name="fileref">../../images/globalicondl11x10_up.gif</xsl:attribute> 184 </xsl:element> 185 </xsl:element> 186 <xsl:element name="textobject"> 187 <xsl:element name="phrase"> 188 <xsl:text>top</xsl:text> 189 </xsl:element> 190 </xsl:element> 191 </xsl:element> 192 </xsl:element> 193 </xsl:element> 194 <xsl:element name="orderedlist"> 121 +++++++++++++++++++++++++++++++++++++++++++++++ 122 123 .. |top| image:: ../../images/globalicondl11x10_up.gif 124 125 _top:: `ref:`top` 126 127 128 |top| 129 195 130 <xsl:for-each select="//d:biblioentry"> 196 131 <xsl:sort order="descending" data-type="number" select="./d:biblioset/d:pubdate"/> … … 208 143 </xsl:variable> 209 144 210 <!--211 <xsl:message terminate="no">212 ref #<xsl:value-of select="position()"/>213 _id appel <xsl:value-of select="$author_id"/>214 _id fabrique <xsl:value-of select="$author_id2"/>215 egal ? <xsl:value-of select="$author_id2 = $author_id"/>216 </xsl:message>217 -->218 145 <xsl:if test="$author_id2 = $author_id"> 219 <xsl:call-template name="one_biblioentry ">146 <xsl:call-template name="one_biblioentry_rest"> 220 147 <xsl:with-param name="visu_modif" select="'visu'"/> 221 148 <xsl:with-param name="type" select="'raw'"/> … … 225 152 </xsl:for-each> 226 153 </xsl:for-each> 227 </xsl:element>228 </xsl:element>229 154 </xsl:template> 230 155
Note: See TracChangeset
for help on using the changeset viewer.