Ignore:
Timestamp:
09/18/08 12:14:27 (16 years ago)
Author:
pinsard
Message:

no more NEMO reference in XSL files; project information (name and home page are in main.xml

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/superbib02_xml.xsl

    r69 r76  
    11<?xml version="1.0" encoding="iso-8859-1"?> 
    2 <xsl:stylesheet  
    3 version="1.0"  
     2<xsl:stylesheet 
     3version="1.0" 
    44xmlns:d="http://docbook.org/ns/docbook" 
    55xmlns:xl="http://www.w3.org/1999/xlink" 
    66xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> 
    77 
    8 <!-- 
    9 module : 
     8<!--rst 
     9NAME 
     10==== 
     11 
    1012produce a DocBook 5 with bibliograhy references sorted by authors 
    1113 
    12 update : 
     14EVOLUTIONS 
     15========== 
    1316$Id$ 
    14 fplod 2008-04-30T15:02:03Z aedon.locean-ipsl.upmc.fr (Darwin) 
    15 language inherited from biblio.xml 
    16 fplod 2008-04-29T08:01:08Z aedon.locean-ipsl.upmc.fr (Darwin) 
    17 chgt for dbk5 
    18 fplod 2007-10-17T07:49:19Z aedon.locean-ipsl.upmc.fr (Darwin) 
    19 improve sort (diacriticals) 
    20 fplod 2007-05-18T14:31:33Z aedon.locean-ipsl.upmc.fr (Darwin) 
    21 modif gestion id 
    22 fplod 2007-05-16T15:15:36Z aedon.locean-ipsl.upmc.fr (Darwin) 
    23 correction pour homonymes partiels 
    24 fplod 2007-05-04T08:17:56Z aedon.locean-ipsl.upmc.fr (Darwin) 
    25 externalisation de biblioentry 
    26 fplod 2007-04-02T08:53:30Z aedon.locean-ipsl.upmc.fr (Darwin) 
    27 journal dans biblioset 
    28 fplod 2007-03-30T12:38:34Z aedon.locean-ipsl.upmc.fr (Darwin) 
    29 creation 
     17 
     18- fplod 2008-09-17T10:40:43Z aedon.locean-ipsl.upmc.fr (Darwin) 
     19 
     20  * project name from main.xml file instead of a fixed one 
     21 
     22- fplod 2008-04-30T15:02:03Z aedon.locean-ipsl.upmc.fr (Darwin) 
     23 
     24  * language inherited from biblio.xml 
     25 
     26- fplod 2008-04-29T08:01:08Z aedon.locean-ipsl.upmc.fr (Darwin) 
     27 
     28  * chgt for dbk5 
     29 
     30- fplod 2007-10-17T07:49:19Z aedon.locean-ipsl.upmc.fr (Darwin) 
     31 
     32  * improve sort (diacriticals) 
     33 
     34- fplod 2007-05-18T14:31:33Z aedon.locean-ipsl.upmc.fr (Darwin) 
     35 
     36  * modif gestion id 
     37 
     38- fplod 2007-05-16T15:15:36Z aedon.locean-ipsl.upmc.fr (Darwin) 
     39 
     40  * correction pour homonymes partiels 
     41 
     42- fplod 2007-05-04T08:17:56Z aedon.locean-ipsl.upmc.fr (Darwin) 
     43 
     44  * externalisation de biblioentry 
     45 
     46- fplod 2007-04-02T08:53:30Z aedon.locean-ipsl.upmc.fr (Darwin) 
     47 
     48  * journal dans biblioset 
     49 
     50- fplod 2007-03-30T12:38:34Z aedon.locean-ipsl.upmc.fr (Darwin) 
     51 
     52  * creation 
     53 
    3054--> 
    3155 
     
    4468<xsl:variable name="list_author_ids" select="///d:author[not( self::node() = following::d:author )]"/> 
    4569 
     70<xsl:variable name="project"> 
     71 <xsl:value-of select="document('main.xml')//d:keyword[@xml:id='project']"/> 
     72</xsl:variable> 
     73 
    4674<xsl:template match="d:bibliography"> 
    4775 
     
    5078<xsl:attribute name="xmlns">http://docbook.org/ns/docbook</xsl:attribute> 
    5179<xsl:attribute name="xml:lang"><xsl:value-of select="@xml:lang"/></xsl:attribute> 
    52 <title>NEMO - Publications - Papers by authors</title> 
     80<title><xsl:value-of select="$project"/> - Publications - Papers by authors</title> 
    5381<info> 
    5482<authorgroup> 
     
    5886</authorgroup> 
    5987<keywordset> 
    60 <keyword>NEMO</keyword> 
     88<keyword><xsl:value-of select="$project"/></keyword> 
    6189</keywordset> 
    6290<!-- ++ date --> 
    6391</info> 
    6492<para xml:id="top"> 
    65  This page intents to provide an exhaustive list of the papers that have used NEMO or OPA and/or results from them. Obvioulsy many papers are missing. If you find omissions or mistakes please ask some modification via 
     93 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 
    6694<xsl:element name="link"> 
    6795 <xsl:attribute name="xl:href"> 
    6896  <xsl:value-of select="'./main.php'"/> 
    6997 </xsl:attribute> 
    70  <xsl:text>Nemo Survey main page</xsl:text> 
     98 <xsl:value-of select="document('main.xml')/d:article/d:title"/> 
     99 <xsl:text>main page</xsl:text> 
    71100</xsl:element>. 
    72101</para> 
    73102<para> 
    74 You can also see <quote>NEMO - Publications - Papers</quote> sorted by 
     103You can also see <quote><xsl:value-of select="$project"/> - Publications - Papers</quote> sorted by 
    75104<xsl:element name="link"> 
    76105 <xsl:attribute name="xl:href"> 
Note: See TracChangeset for help on using the changeset viewer.