Ignore:
Timestamp:
04/29/08 14:25:55 (16 years ago)
Author:
pinsard
Message:

migration to docbook5 except biblio.xml; improvement of makefile

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/superbib01_xml.xsl

    r49 r55  
    11<?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  
     3version="1.0"  
     4xmlns:xl="http://www.w3.org/1999/xlink" 
     5xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> 
    36 
    47<!-- 
    58module : 
    6 sortir les références bibliographiques par pseudo-année 
     9produce a DocBook 5 with bibliograhy references sorted by years 
    710 
    811update : 
    912$Id$ 
    1013++ plein de trucs 
     14fplod 2008-04-29T07:46:20Z aedon.locean-ipsl.upmc.fr (Darwin) 
     15chgt for dbk5 
    1116fplod 2007-10-17T08:01:14Z aedon.locean-ipsl.upmc.fr (Darwin) 
    1217improve authors sort (diacriticals)  
     
    2833 method="xml" 
    2934 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"/> 
    3436 
    3537<xsl:include href="biblioentry_xml.xsl"/> 
     
    4345--> 
    4446<xsl:element name="informaltable"> 
    45  <xsl:attribute name="id">years</xsl:attribute> 
     47 <xsl:attribute name="xml:id">years</xsl:attribute> 
    4648 <xsl:attribute name="summary">years of publications</xsl:attribute> 
    4749 <xsl:element name="tgroup"> 
     
    6365     <xsl:element name="entry"> 
    6466      <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> 
    6769       <xsl:value-of select="."/> 
    6870      </xsl:element> 
     
    109111<xsl:template match="bibliography"> 
    110112 
    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> 
    112117<title>NEMO - Publications - Papers by years</title> 
    113 <articleinfo> 
     118<info> 
    114119<authorgroup> 
    115120<author><personname><firstname>Sébastien</firstname> <surname>Masson</surname></personname></author> 
     
    121126</keywordset> 
    122127<!-- ++ date --> 
    123 </articleinfo> 
    124 <highlights id="top"> 
    125 <para> 
     128</info> 
     129<para xml:id="top"> 
    126130This page intents to provide an exhaustive list of the papers that have used  
    127131NEMO or OPA and/or results from them.  
    128132Obvioulsy many papers are missing.  
    129133If 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"> 
    132136  <xsl:value-of select="'./main.php'"/> 
    133137 </xsl:attribute> 
     
    135139</xsl:element>. 
    136140</para> 
    137 </highlights> 
    138141<para> 
    139142You can also see <quote>NEMO - Publications - Papers</quote> sorted by  
    140143authors in 
    141 <xsl:element name="ulink"> 
    142  <xsl:attribute name="url"> 
     144<xsl:element name="link"> 
     145 <xsl:attribute name="xl:href"> 
    143146  <xsl:value-of select="'./superbib02.html'"/> 
    144147 </xsl:attribute> 
     
    146149</xsl:element> 
    147150<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"> 
    150153  <xsl:value-of select="'../many/superbib01/index.html'"/> 
    151154 </xsl:attribute> 
     
    160163<xsl:call-template name="years"/> 
    161164 
    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> 
    163166<mediaobject>  
    164167<imageobject>  
     
    169172</figure> 
    170173 
    171 <sect1 id="intro"> 
     174<sect1 xml:id="intro"> 
    172175<title>Introduction</title> 
    173176<para> 
     
    183186    </xsl:call-template> 
    184187   </xsl:for-each> 
    185 </article> 
     188</xsl:element> 
    186189</xsl:template> 
    187190 
     
    199202--> 
    200203 <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> 
    202205  <xsl:element name="title"> 
    203206   <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> 
    206209   <xsl:element name="inlinemediaobject"> 
    207210     <xsl:element name="imageobject"> 
Note: See TracChangeset for help on using the changeset viewer.