Changeset 55 for trunk


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

migration to docbook5 except biblio.xml; improvement of makefile

Location:
trunk
Files:
24 edited

Legend:

Unmodified
Added
Removed
  • trunk/biblioentry_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:html="http://www.w3.org/1999/xhtml" 
     6xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> 
    37 
    48<!-- 
     
    812update : 
    913$Id$ 
     14fplod 2008-04-29T09:10:31Z aedon.locean-ipsl.upmc.fr (Darwin) 
     15chgt for dbk5 
    1016fplod 2007-06-20T17:18:02Z aedon.locean-ipsl.upmc.fr (Darwin) 
    1117<bibliomisc role="id"> replaced by <biblioid class="doi"> 
     
    191197  --> 
    192198  <xsl:text>, </xsl:text> 
    193   <xsl:element name="ulink"> 
    194    <xsl:attribute name="url"> 
     199  <xsl:element name="link"> 
     200   <xsl:attribute name="xl:href"> 
    195201    <xsl:text>http://dx.doi.org/</xsl:text> 
    196202    <xsl:value-of select="."/> 
  • trunk/comments_db.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:html="http://www.w3.org/1999/xhtml" 
     5xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> 
    36 
    47<!-- 
     
    811update : 
    912$Id$ 
     13fplod 2008-04-29T09:07:06Z aedon.locean-ipsl.upmc.fr (Darwin) 
     14chgt for dbk5 
    1015fplod 2007-04-26T11:56:32Z aedon.locean-ipsl.upmc.fr (Darwin) 
    1116creation 
     
    1318 
    1419<xsl:template name="comments"> 
     20 <xsl:param name="author_id"/> 
    1521 <xsl:text>&#xA;</xsl:text> 
    16  <xsl:element name="fieldset"> 
    17    <xsl:attribute name="id">field_comments</xsl:attribute> 
     22 <xsl:element name="html:fieldset"> 
     23   <xsl:attribute name="xml:id">field_comments_<xsl:value-of select="$author_id"/></xsl:attribute> 
    1824   <xsl:text>&#xA;</xsl:text> 
    19    <xsl:element name="legend"> 
     25   <xsl:element name="html:legend"> 
    2026     Comments 
    2127   </xsl:element> 
    2228   <xsl:text>&#xA;</xsl:text> 
    23    <xsl:element name="textarea">  
     29   <xsl:element name="html:textarea">  
    2430     <xsl:attribute name="name">comments</xsl:attribute> 
    2531     <xsl:attribute name="rows">5</xsl:attribute> 
  • trunk/compilers_db.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:html="http://www.w3.org/1999/xhtml" 
     5xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> 
    36 
    47<!-- 
     
    811update : 
    912$Id$ 
     13fplod 2008-04-29T09:03:58Z aedon.locean-ipsl.upmc.fr (Darwin) 
     14chgt for dbk5 
    1015fplod 2007-05-18T10:25:06Z aedon.locean-ipsl.upmc.fr (Darwin) 
    1116correction pour cause de dysfonctionnement sous firefox (mais ok sous safari) : 
     
    1722<xsl:template name="compilers"> 
    1823 <xsl:param name="user"/> 
     24 <xsl:param name="author_id"/> 
    1925 <xsl:param name="visu_modif"/> 
    2026 
    2127  <xsl:text>&#xA;</xsl:text> 
    22   <xsl:element name="fieldset"> 
    23    <xsl:attribute name="id">compilers</xsl:attribute> 
     28  <xsl:element name="html:fieldset"> 
     29   <xsl:attribute name="xml:id">compilers_<xsl:value-of select="$author_id"/></xsl:attribute> 
    2430   <xsl:text>&#xA;</xsl:text> 
    2531   <xsl:text>&#xA;</xsl:text> 
    26    <xsl:element name="legend"> 
     32   <xsl:element name="html:legend"> 
    2733    Used compilers 
    2834   </xsl:element> 
     
    3036   <xsl:text>&#xA;</xsl:text> 
    3137   <!-- ne plait pas à firefox ++ 
    32    <xsl:element name="label"> 
     38   <xsl:element name="html:label"> 
    3339   --> 
    3440    <xsl:for-each select="$user/compilers/compiler"> 
     
    3945      <xsl:when test="@code != 'zzz_other'"> 
    4046      <xsl:text>&#xA;</xsl:text> 
    41        <xsl:element name="input"> 
     47       <xsl:element name="html:input"> 
    4248        <xsl:attribute name="name"> 
    4349         <xsl:value-of select="name()"/><xsl:text>_</xsl:text><xsl:value-of select="@code"/> 
     
    5662      <xsl:when  test="@code = 'zzz_other'"> 
    5763       <xsl:text>&#xA;</xsl:text> 
    58        <xsl:element name="label"> 
     64       <xsl:element name="html:label"> 
    5965        Other : 
    6066        <xsl:text>&#xA;</xsl:text> 
    61         <xsl:element name="input"> 
     67        <xsl:element name="html:input"> 
    6268         <xsl:attribute name="name"> 
    6369          <xsl:value-of select="name()"/><xsl:text>_</xsl:text><xsl:value-of select="@code"/> 
  • trunk/components_db.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:html="http://www.w3.org/1999/xhtml" 
     5xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> 
    36 
    47<!-- 
     
    811update : 
    912$Id$ 
     13fplod 2008-04-29T09:06:37Z aedon.locean-ipsl.upmc.fr (Darwin) 
     14chgt fot dbk5 
    1015fplod 2007-06-08T09:07:12Z aedon.locean-ipsl.upmc.fr (Darwin) 
    1116bug fix for components_date 
     
    2126<xsl:template name="components"> 
    2227 <xsl:param name="user"/> 
     28 <xsl:param name="author_id"/> 
    2329 <xsl:param name="visu_modif"/> 
    2430 
    2531  <xsl:text>&#xA;</xsl:text> 
    26   <xsl:element name="fieldset"> 
    27    <xsl:attribute name="id">components</xsl:attribute> 
     32  <xsl:element name="html:fieldset"> 
     33   <xsl:attribute name="xml:id">components_<xsl:value-of select="$author_id"/></xsl:attribute> 
    2834   <xsl:text>&#xA;</xsl:text> 
    29    <xsl:element name="legend"> 
     35   <xsl:element name="html:legend"> 
    3036    Used NEMO components 
    3137   </xsl:element> 
    3238   <xsl:text>&#xA;</xsl:text> 
    3339   <!-- ne plait pas à firefox  ++ 
    34     <xsl:element name="label"> 
     40    <xsl:element name="html:label"> 
    3541   --> 
    3642    <xsl:for-each select="$user/components/component"> 
     
    4147      <xsl:when test="@code != 'zzz_other'"> 
    4248       <xsl:text>&#xA;</xsl:text> 
    43        <xsl:element name="input"> 
     49       <xsl:element name="html:input"> 
    4450        <xsl:attribute name="name"> 
    4551         <xsl:value-of select="name()"/><xsl:text>_</xsl:text><xsl:value-of select="@code"/> 
     
    5864      <xsl:when  test="@code = 'zzz_other'"> 
    5965       <xsl:text>&#xA;</xsl:text> 
    60        <xsl:element name="label"> 
     66       <xsl:element name="html:label"> 
    6167       Other : 
    6268        <xsl:text>&#xA;</xsl:text> 
    63         <xsl:element name="input"> 
     69        <xsl:element name="html:input"> 
    6470         <xsl:attribute name="name"> 
    6571          <xsl:value-of select="name()"/><xsl:text>_</xsl:text><xsl:value-of select="@code"/> 
     
    7682   --> 
    7783   <xsl:text>&#xA;</xsl:text> 
    78    <xsl:element name="label"> 
     84   <xsl:element name="html:label"> 
    7985    <xsl:text>Since (YYYYMM) :</xsl:text> 
    8086    <xsl:text>&#xA;</xsl:text> 
    81     <xsl:element name="input"> 
     87    <xsl:element name="html:input"> 
    8288     <xsl:attribute name="name">components_date</xsl:attribute> 
    8389     <xsl:attribute name="type">text</xsl:attribute> 
  • trunk/correction_db.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:html="http://www.w3.org/1999/xhtml" 
     5xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> 
    36 
    47<!-- 
     
    811update : 
    912$Id$ 
     13fplod 2008-04-29T09:43:57Z aedon.locean-ipsl.upmc.fr (Darwin) 
     14chgt for dbk5 
    1015fplod 2007-04-26T11:56:32Z aedon.locean-ipsl.upmc.fr (Darwin) 
    1116creation 
     
    1520 <xsl:param name="id"/> 
    1621 <xsl:text>&#xA;</xsl:text> 
    17  <xsl:element name="fieldset"> 
    18   <xsl:attribute name="id">field_correction_<xsl:value-of select="$id"/></xsl:attribute> 
     22 <xsl:element name="html:fieldset"> 
     23<!-- ++ pb to find unique id 
     24  <xsl:attribute name="xml:id">field_correction_<xsl:value-of select="$id"/></xsl:attribute> 
     25--> 
    1926  <xsl:text>&#xA;</xsl:text> 
    20    <xsl:element name="legend"> 
     27   <xsl:element name="html:legend"> 
    2128     Correction 
    2229   </xsl:element> 
    2330   <xsl:text>&#xA;</xsl:text> 
    24    <xsl:element name="textarea">  
     31   <xsl:element name="html:textarea">  
    2532     <xsl:attribute name="name">correction_<xsl:value-of select="$id"/></xsl:attribute> 
    2633     <xsl:attribute name="rows">2</xsl:attribute> 
  • trunk/form_db.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:html="http://www.w3.org/1999/xhtml" 
     5xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> 
    36 
    47<!-- 
     
    811update : 
    912$Id$ 
     13fplod 2008-04-29T08:57:43Z aedon.locean-ipsl.upmc.fr (Darwin) 
     14chgt for dbk5 
    1015fplod 2007-10-17T08:07:50Z aedon.locean-ipsl.upmc.fr (Darwin) 
    1116improve sort (diacriticals) 
     
    3742 
    3843 <xsl:text>&#xA;</xsl:text> 
    39  <xsl:element name="form"> 
     44 <xsl:element name="html:form"> 
    4045  <xsl:choose> 
    4146   <xsl:when test="$visu_modif= 'modif'"> 
     
    4752    <xsl:attribute name="enctype">text/plain</xsl:attribute> 
    4853    <xsl:text>&#xA;</xsl:text> 
    49     <xsl:element name="input"> 
     54    <xsl:element name="html:input"> 
    5055     <xsl:attribute name="name">message</xsl:attribute> 
    5156     <xsl:attribute name="type">hidden</xsl:attribute> 
     
    5358    </xsl:element> 
    5459    <xsl:text>&#xA;</xsl:text> 
    55     <xsl:element name="input"> 
     60    <xsl:element name="html:input"> 
    5661     <xsl:attribute name="name">server</xsl:attribute> 
    5762     <xsl:attribute name="type">hidden</xsl:attribute> 
     
    5964    </xsl:element> 
    6065    <xsl:text>&#xA;</xsl:text> 
    61     <xsl:element name="input"> 
     66    <xsl:element name="html:input"> 
    6267     <xsl:attribute name="name">phpversion</xsl:attribute> 
    6368     <xsl:attribute name="type">hidden</xsl:attribute> 
     
    6570    </xsl:element> 
    6671    <xsl:text>&#xA;</xsl:text> 
    67     <xsl:element name="input"> 
     72    <xsl:element name="html:input"> 
    6873     <xsl:attribute name="name">timestamp</xsl:attribute> 
    6974     <xsl:attribute name="type">hidden</xsl:attribute> 
     
    7378  </xsl:choose> 
    7479  <xsl:text>&#xA;</xsl:text> 
    75   <xsl:element name="input"> 
     80  <xsl:element name="html:input"> 
    7681   <xsl:attribute name="name">author_id</xsl:attribute> 
    7782   <xsl:attribute name="type">hidden</xsl:attribute> 
     
    8186  <xsl:call-template name="personal"> 
    8287   <xsl:with-param name="user" select="$user"/> 
     88   <xsl:with-param name="author_id" select="$author_id"/> 
    8389   <xsl:with-param name="visu_modif" select="'modif'"/> 
    8490  </xsl:call-template> 
    8591  <xsl:call-template name="components"> 
    8692   <xsl:with-param name="user" select="$user"/> 
     93   <xsl:with-param name="author_id" select="$author_id"/> 
    8794   <xsl:with-param name="visu_modif" select="'modif'"/> 
    8895  </xsl:call-template> 
    8996  <xsl:call-template name="platforms"> 
    9097   <xsl:with-param name="user" select="$user"/> 
     98   <xsl:with-param name="author_id" select="$author_id"/> 
    9199   <xsl:with-param name="visu_modif" select="'modif'"/> 
    92100  </xsl:call-template> 
    93101  <xsl:call-template name="processors"> 
    94102   <xsl:with-param name="user" select="$user"/> 
     103   <xsl:with-param name="author_id" select="$author_id"/> 
    95104   <xsl:with-param name="visu_modif" select="'modif'"/> 
    96105  </xsl:call-template> 
    97106  <xsl:call-template name="compilers"> 
    98107   <xsl:with-param name="user" select="$user"/> 
     108   <xsl:with-param name="author_id" select="$author_id"/> 
    99109   <xsl:with-param name="visu_modif" select="'modif'"/> 
    100110  </xsl:call-template> 
     
    142152  </xsl:choose> 
    143153  <xsl:call-template name="comments"> 
     154   <xsl:with-param name="author_id" select="$author_id"/> 
    144155   <xsl:with-param name="visu_modif" select="'modif'"/> 
    145156  </xsl:call-template> 
    146157  <xsl:call-template name="newreferences"> 
     158   <xsl:with-param name="author_id" select="$author_id"/> 
    147159   <xsl:with-param name="visu_modif" select="'modif'"/> 
    148160  </xsl:call-template> 
     
    151163   <xsl:when test="$visu_modif= 'modif'"> 
    152164    <xsl:text>&#xA;</xsl:text> 
    153     <xsl:element name="input"> 
     165    <xsl:element name="html:input"> 
    154166     <xsl:attribute name="type">submit</xsl:attribute> 
    155167     <xsl:attribute name="value">Mail</xsl:attribute>  
    156168    </xsl:element> 
    157169    <xsl:text>&#xA;</xsl:text> 
    158     <xsl:element name="input">  
     170    <xsl:element name="html:input">  
    159171     <xsl:attribute name="type">reset</xsl:attribute> 
    160172     <xsl:attribute name="value">reset</xsl:attribute>  
  • trunk/form_html.xsl

    r49 r55  
    11<?xml version='1.0' encoding='ISO-8859-1'?>  
    2 <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">  
     2<xsl:stylesheet  
     3xmlns:xsl="http://www.w3.org/1999/XSL/Transform"  
     4xmlns:html="http://www.w3.org/1999/xhtml" 
     5version="1.0">  
    36 
    47<!-- 
     
    811update : 
    912$Id$ 
     13fplod 2008-04-28T15:29:15Z aedon.locean-ipsl.upmc.fr (Darwin) 
     14dbk5 
    1015fplod 2007-04-27T15:08:17Z aedon.locean-ipsl.upmc.fr (Darwin) 
    1116++ inclusion php d'après http://www.cygwin.com/ml/docbook-apps/2005-q1/msg00484.html 
     
    1621--> 
    1722 
    18 <xsl:template match="form"> 
     23<xsl:template match="html:form"> 
    1924 <xsl:text>&#xA;</xsl:text> 
    2025 <xsl:element name="form"> 
     
    4853</xsl:template> 
    4954 
    50 <xsl:template match="fieldset"> 
     55<xsl:template match="html:fieldset"> 
    5156 <xsl:text>&#xA;</xsl:text> 
    5257 <xsl:element name="fieldset"> 
     
    5661</xsl:template> 
    5762 
    58 <xsl:template match="label">  
     63<xsl:template match="html:label">  
    5964 <xsl:text>&#xA;</xsl:text> 
    6065 <xsl:element name="label"> 
     
    6368</xsl:template> 
    6469 
    65 <xsl:template match="legend"> 
     70<xsl:template match="html:legend"> 
    6671 <legend><xsl:apply-templates/></legend> 
    6772</xsl:template> 
    6873 
    69 <xsl:template match="input">  
     74<xsl:template match="html:input">  
    7075 <xsl:text>&#xA;</xsl:text> 
    7176 <xsl:element name="input"> 
     
    139144</xsl:template> 
    140145 
    141 <xsl:template match="textarea">  
     146<xsl:template match="html:textarea">  
    142147 <xsl:text>&#xA;</xsl:text> 
    143148 <xsl:element name="textarea"> 
     
    148153 </xsl:element> 
    149154</xsl:template> 
    150 <xsl:template match="form/select">  
     155<xsl:template match="html:form/html:select">  
    151156 <xsl:text>&#xA;</xsl:text> 
    152157 <xsl:element name="select"> 
     
    167172</xsl:template> 
    168173 
    169 <xsl:template match="option">  
     174<xsl:template match="html:option">  
    170175 <xsl:text>&#xA;</xsl:text> 
    171176 <xsl:element name="option"> 
  • trunk/linkchecker.sh

    r53 r55  
    1 #! /bin/sh -x 
     1#! /bin/sh 
    22# 
    33# module : 
     
    6969done 
    7070# 
    71 # +++ remove temporarily  
     71# +++ remove temporarily 
    7272# +++ set -u 
    7373# 
  • trunk/main.xml

    r48 r55  
    11<?xml version="1.0" encoding="ISO-8859-1"?> 
    2 <!DOCTYPE article PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" 
    3 [ 
     2<!DOCTYPE article [ 
    43<!ENTITY select_id "select_id.xml"> 
    54]> 
    6 <article lang="en"> 
     5<article  
     6xmlns="http://docbook.org/ns/docbook" 
     7xmlns:xl="http://www.w3.org/1999/xlink" 
     8xmlns:html="http://www.w3.org/1999/xhtml" 
     9xml:lang="en"> 
    710<!-- 
    811module : 
     
    1619--> 
    1720  <title>Nemo Survey</title> 
    18   <articleinfo> 
     21  <info> 
    1922    <authorgroup> 
    2023      <author> 
     
    3437      <keyword>NEMO</keyword> 
    3538    </keywordset> 
    36   </articleinfo> 
    37 <simplesect id="intro"> 
    38 <para> 
     39  </info> 
     40 
     41<para xml:id="intro"> 
    3942As you can imagine, this survey is not a new way to spy NEMO users and their work! The goal of this survey is simply collect and keep up-to-date information related to the use of NEMO: mainly the number of users and list of publications involving NEMO. These information and their temporal evolution are keys arguments when negotiating man-power or money to support our work. We tried to minimize as much as possible the time needed to fill this survey. Please, take a few minutes to fill it, this will greatly benefit to NEMO! 
    4043</para> 
    41 </simplesect> 
    4244 
    43 <sect1 id="bibsorts"> 
     45<sect1 xml:id="bibsorts"> 
    4446<title>Nemo Bibliography</title> 
     47 
     48 
    4549  <itemizedlist> 
    4650<listitem> 
    4751<para> 
    48             <ulink url="bibnemomaf01.html">By years</ulink> 
     52            <link xl:href="superbib01.html">By years</link> 
    4953</para> 
    5054</listitem> 
    5155<listitem> 
    5256<para> 
    53             <ulink url="bibnemomaf02.html">By authors in one unique big file</ulink> 
     57            <link xl:href="superbib02.html">By authors in one unique big file</link> 
    5458</para> 
    5559</listitem> 
    5660<listitem> 
    5761<para> 
    58             <ulink url="../many/bibnemomaf01/index.html">By authors in several files (one by author)</ulink> 
     62            <link xl:href="../many/superbib01/index.html">By authors in several files (one by author)</link> 
    5963</para> 
    6064</listitem> 
     
    6266</sect1> 
    6367 
    64 <sect1 id="firstform"> 
     68<sect1 xml:id="firstform"> 
    6569<title>Nemo Survey Contribution</title> 
    6670  <itemizedlist> 
     
    7074</para> 
    7175<note><para>Jump directly to your Id by typing the first letters of your surname.</para></note> 
    72 <para> 
    73 <form> 
    74 <label> 
     76<html:form> 
     77<html:label> 
    7578Id (<emphasis>SURNAME_f</emphasis>) 
    76 </label> 
     79</html:label> 
    7780<xi:include href="&select_id;" 
    7881   parse="xml" xmlns:xi="http://www.w3.org/2001/XInclude"> 
     
    8184  </xi:fallback> 
    8285 </xi:include> 
    83 </form> 
    84 </para> 
     86</html:form> 
    8587</listitem> 
    8688<listitem> 
    8789<para> 
    88 You can fill a <ulink url="./template.php">new form</ulink>. 
     90You can fill a <link xl:href="./template.php">new form</link>. 
    8991</para> 
    9092</listitem> 
  • trunk/main_html.xsl

    r49 r55  
    11<?xml version='1.0' encoding='ISO-8859-1'?>  
    2 <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">  
     2<xsl:stylesheet  
     3xmlns:xsl="http://www.w3.org/1999/XSL/Transform"  
     4xmlns:html="http://www.w3.org/1999/xhtml" 
     5version="1.0">  
    36 
    47<!-- 
    58module : 
    6 transformation docbook en plusieurs html avec formulaire 
     9transformation docbook en html avec formulaire 
    710 
    811update : 
    912$Id$ 
     13fplod 2008-04-28T11:02:38Z aedon.locean-ipsl.upmc.fr (Darwin) 
     14input dbk5 
    1015fplod 2007-04-18T08:15:46Z aedon.locean-ipsl.upmc.fr (Darwin) 
    1116création 
     
    3136<xsl:param name="section.autolabel" select="0"/> 
    3237 
    33  
    3438<!-- 
    3539Personalisation de bas de page 
     
    4145</xsl:template> 
    4246 
     47<!-- 
     48<xsl:template match="html:form"> 
     49<xsl:message> coucou form</xsl:message> 
     50 <xsl:comment>form debut ici</xsl:comment> 
     51 <xsl:apply-templates/> 
     52 <xsl:comment>form fin ici</xsl:comment> 
     53</xsl:template> 
     54 
     55<xsl:template match="html:label"> 
     56<xsl:message> coucou label </xsl:message> 
     57 <xsl:comment>label debut ici</xsl:comment>  
     58 <xsl:apply-templates/> 
     59 <xsl:comment>label fin ici</xsl:comment> 
     60</xsl:template> 
     61 
     62<xsl:template match="html:select"> 
     63<xsl:message> coucou select </xsl:message> 
     64 <xsl:comment>select debut ici</xsl:comment>  
     65 <xsl:apply-templates/> 
     66 <xsl:comment>select fin ici</xsl:comment> 
     67</xsl:template> 
     68 
     69<xsl:template match="html:option"> 
     70<xsl:message> coucou option </xsl:message> 
     71 <xsl:comment>option debut ici</xsl:comment>  
     72 <xsl:apply-templates/> 
     73 <xsl:comment>option fin ici</xsl:comment> 
     74</xsl:template> 
     75--> 
     76 
    4377</xsl:stylesheet>  
  • trunk/makefile

    r54 r55  
    6868# the third for me (Françoise) on my home page at LOCEAN 
    6969# http://www.locean-ipsl.upmc.fr/~fplod/superbibdemo/ 
    70 #DIRPUBLISH = \ 
    71 #none 
    72  
    73 #URLPUBLISH = \ 
    74 #http://www.locean-ipsl.upmc/~fplod/$(PRODUCT)demo/ 
     70DIRPUBLISH = \ 
     71none 
     72 
     73URLPUBLISH = \ 
     74http://www.locean-ipsl.upmc.fr/~fplod/$(PRODUCT)demo/ 
    7575 
    7676MAKEDATE = \ 
     
    7878 
    7979XSLPARAMHTML = \ 
    80 --xinclude \ 
    8180--param makedate "'$(MAKEDATE)'" \ 
    8281--param html.stylesheet "'../../style.css ../../$(PRODUCT).css'" \ 
     
    9089 
    9190.PHONY : \ 
     91dbkcheck \ 
    9292all \ 
    9393before \ 
     
    173173        -@rm -f $(DIRTMP)/$(PRODUCT)02_dblatex.err 
    174174        -@rm -f $(DIRTMP)/$(PRODUCT)02_dblatex.log 
    175         -@rm -f $(DIRTMP)/bibliomany01.xml 
    176         -@rm -f $(DIRTMP)/bibliomany02.xml 
     175        -@rm -f $(DIRTMP)/$(PRODUCT)many01.xml 
     176        -@rm -f $(DIRTMP)/$(PRODUCT)many02.xml 
    177177        -@rm -f $(DIRTMP)/titlepage.$(PRODUCT).xsl 
    178178        -@rm -f $(DIRTMP)/user_db.xml 
    179179        -@rm -f $(DIRTMP)/template_beforesed.php 
    180180        -@rm -f $(DIRTMP)/template_db.xml 
     181 
     182dbkcheck : 
     183        @-rm $(DIRTMP)/err_xmlstarlet_xsd 2> /dev/null 
     184        #++ biblio.xml db5 
     185        @for file in $(DIRTMP)/*_full.xml $(DIRTMP)/select_id.xml $(DIRTMP)/superbib01.xml $(DIRTMP)/superbib02.xml $(DIRTMP)/$(PRODUCT)many01.xml $(DIRTMP)/$(PRODUCT)many02.xml $(DIRTMP)/user_db.xml $(DIRTMP)/template_db.xml; do \ 
     186        xml val --err \ 
     187        --xsd http://www.docbook.org/xml/5.0/xsd/docbook.xsd \ 
     188        $${file} 1>> $(DIRTMP)/err_xmlstarlet_xsd 2>&1; done 
     189        @echo "check for valid diag for each file in $(DIRTMP)/err_xmlstarlet_xsd" 
    181190 
    182191all : \ 
     
    220229$(DIRSRC)/main_html.xsl \ 
    221230$(DIRTMP)/titlepage.$(PRODUCT).xsl \ 
     231$(DIRSRC)/form_html.xsl \ 
    222232$(DIRTMP)/main_full.xml 
    223233        @xsltproc \ 
     
    232242$(DIRSRC)/style.css \ 
    233243$(DIRSRC)/$(PRODUCT)01_html.xsl \ 
     244$(DIRTMP)/titlepage.$(PRODUCT).xsl \ 
    234245$(DIRTMP)/$(PRODUCT)01.xml 
    235246        @xsltproc \ 
     
    241252$(DIRTMP)/$(PRODUCT)01.xml : \ 
    242253$(DIRSRC)/$(PRODUCT)01_xml.xsl \ 
     254$(DIRSRC)/biblioentry_xml.xsl \ 
    243255$(DIRSRC)/biblio.xml 
    244256        @xsltproc \ 
     
    252264$(DIRSRC)/style.css \ 
    253265$(DIRSRC)/$(PRODUCT)01_html.xsl \ 
     266$(DIRTMP)/titlepage.$(PRODUCT).xsl \ 
    254267$(DIRTMP)/$(PRODUCT)02.xml 
    255268        @xsltproc \ 
     
    263276$(DIRSRC)/style.css \ 
    264277$(DIRSRC)/$(PRODUCT)many02_html.xsl \ 
    265 $(DIRTMP)/bibliomany02.xml 
     278$(DIRTMP)/titlepage.$(PRODUCT).xsl \ 
     279$(DIRSRC)/form_html.xsl \ 
     280$(DIRTMP)/$(PRODUCT)many02.xml 
    266281        @xsltproc \ 
    267282        $(XSLPARAMHTML) \ 
     
    269284        --param base.dir "'$@/'" \ 
    270285        $(DIRSRC)/$(PRODUCT)many02_html.xsl \ 
    271         $(DIRTMP)/bibliomany02.xml 
     286        $(DIRTMP)/$(PRODUCT)many02.xml 
    272287        # affreux sed 
    273288        for file in $(DIRWWW)/en/many/$(PRODUCT)02/*.php; do \ 
     
    275290         mv $${file}_sed $${file} ; \ 
    276291        done 
    277  
    278 $(DIRTMP)/bibliomany02.xml : \ 
     292        @touch $@/ 
     293 
     294$(DIRTMP)/$(PRODUCT)many02.xml : \ 
    279295$(DIRSRC)/$(PRODUCT)many02_xml.xsl \ 
     296$(DIRSRC)/form_db.xsl \ 
     297$(DIRSRC)/compilers_db.xsl \ 
     298$(DIRSRC)/components_db.xsl \ 
     299$(DIRSRC)/platforms_db.xsl \ 
     300$(DIRSRC)/personal_db.xsl \ 
     301$(DIRSRC)/comments_db.xsl \ 
     302$(DIRSRC)/newreferences_db.xsl \ 
     303$(DIRSRC)/processors_db.xsl \ 
     304$(DIRSRC)/biblioentry_xml.xsl \ 
     305$(DIRSRC)/correction_db.xsl \ 
     306$(DIRSRC)/firstname_id.xsl \ 
     307$(DIRSRC)/surname_id.xsl \ 
    280308$(DIRSRC)/biblio.xml 
    281309        @xsltproc \ 
     
    290318$(DIRSRC)/style.css \ 
    291319$(DIRSRC)/$(PRODUCT)many01_html.xsl \ 
    292 $(DIRTMP)/bibliomany01.xml 
     320$(DIRTMP)/titlepage.$(PRODUCT).xsl \ 
     321$(DIRTMP)/$(PRODUCT)many01.xml 
    293322        @xsltproc \ 
    294323        $(XSLPARAMHTML) \ 
    295324        --param base.dir "'$@/'" \ 
    296325        $(DIRSRC)/$(PRODUCT)many01_html.xsl \ 
    297         $(DIRTMP)/bibliomany01.xml 
    298  
    299 $(DIRTMP)/bibliomany01.xml : \ 
     326        $(DIRTMP)/$(PRODUCT)many01.xml 
     327        @touch $@/ 
     328 
     329$(DIRTMP)/$(PRODUCT)many01.xml : \ 
    300330$(DIRSRC)/$(PRODUCT)many01_xml.xsl \ 
     331$(DIRSRC)/firstname_id.xsl \ 
     332$(DIRSRC)/surname_id.xsl \ 
     333$(DIRSRC)/table_authors.xsl \ 
     334$(DIRSRC)/biblioentry_xml.xsl \ 
     335$(DIRSRC)/correction_db.xsl \ 
    301336$(DIRSRC)/biblio.xml 
    302337        @xsltproc \ 
     
    309344$(DIRTMP)/$(PRODUCT)02.xml : \ 
    310345$(DIRSRC)/$(PRODUCT)02_xml.xsl \ 
     346$(DIRSRC)/firstname_id.xsl \ 
     347$(DIRSRC)/surname_id.xsl \ 
     348$(DIRSRC)/table_authors.xsl \ 
     349$(DIRSRC)/biblioentry_xml.xsl \ 
     350$(DIRSRC)/correction_db.xsl \ 
    311351$(DIRSRC)/biblio.xml 
    312352        @xsltproc \ 
     
    320360$(DIRSRC)/titlepage.$(PRODUCT).xml 
    321361        @xsltproc \ 
    322         --xinclude \ 
    323362        --output $@ \ 
    324363        http://docbook.sourceforge.net/release/xsl/current/template/titlepage.xsl \ 
     
    331370$(DIRTMP)/years.ploticus : \ 
    332371$(DIRSRC)/years_ploticus.xsl \ 
     372$(DIRSRC)/biblioentry_xml.xsl \ 
    333373$(DIRSRC)/biblio.xml 
    334374        @xsltproc \ 
     
    378418$(DIRTMP)/select_id.xml : \ 
    379419$(DIRSRC)/select_id.xsl \ 
     420$(DIRSRC)/firstname_id.xsl \ 
     421$(DIRSRC)/surname_id.xsl \ 
    380422$(DIRSRC)/biblio.xml 
    381423        @xsltproc \ 
     
    388430$(DIRSRC)/style.css \ 
    389431$(DIRSRC)/user_html.xsl \ 
     432$(DIRTMP)/titlepage.$(PRODUCT).xsl \ 
     433$(DIRSRC)/form_html.xsl \ 
    390434$(DIRTMP)/user_db.xml 
    391435        @xsltproc \ 
     
    397441$(DIRTMP)/user_db.xml : \ 
    398442$(DIRSRC)/user_db.xsl \ 
     443$(DIRSRC)/components_db.xsl \ 
     444$(DIRSRC)/compilers_db.xsl \ 
     445$(DIRSRC)/platforms_db.xsl \ 
     446$(DIRSRC)/processors_db.xsl \ 
    399447$(DIRSRC)/user.xml 
    400448        @xsltproc \ 
     
    418466$(DIRSRC)/style.css \ 
    419467$(DIRSRC)/main_html.xsl \ 
     468$(DIRTMP)/titlepage.$(PRODUCT).xsl \ 
     469$(DIRSRC)/form_html.xsl \ 
    420470$(DIRTMP)/template_db.xml 
    421471        @xsltproc \ 
     
    428478$(DIRTMP)/template_db.xml : \ 
    429479$(DIRSRC)/user.xml \ 
    430 $(DIRSRC)/template_db.xsl 
    431         @xsltproc \ 
    432         $(XSLPARAMHTML) \ 
    433         --output $@ \ 
    434         $(DIRSRC)/template_db.xsl \ 
    435         $(DIRSRC)/user.xml 
    436  
    437 $(DIRSRC)/user_db.xsl : \ 
    438 $(DIRSRC)/components_db.xsl \ 
    439 $(DIRSRC)/compilers_db.xsl \ 
    440 $(DIRSRC)/platforms_db.xsl \ 
    441 $(DIRSRC)/processors_db.xsl 
    442  
    443 $(DIRSRC)/form_db.xsl : \ 
     480$(DIRSRC)/template_db.xsl \ 
     481$(DIRSRC)/form_db.xsl \ 
    444482$(DIRSRC)/compilers_db.xsl \ 
    445483$(DIRSRC)/components_db.xsl \ 
     
    449487$(DIRSRC)/newreferences_db.xsl \ 
    450488$(DIRSRC)/processors_db.xsl \ 
    451 $(DIRSRC)/biblioentry_xml.xsl 
    452  
    453 $(DIRSRC)/biblioentry_xml.xsl : \ 
     489$(DIRSRC)/biblioentry_xml.xsl \ 
    454490$(DIRSRC)/correction_db.xsl 
    455  
    456 $(DIRSRC)/$(PRODUCT)01_html.xsl : \ 
    457 $(DIRTMP)/titlepage.$(PRODUCT).xsl 
    458  
    459 $(DIRSRC)/user_html.xsl : \ 
    460 $(DIRTMP)/titlepage.$(PRODUCT).xsl \ 
    461 $(DIRSRC)/form_html.xsl 
    462  
    463  
    464 $(DIRSRC)/$(PRODUCT)main_html.xsl : \ 
    465 $(DIRTMP)/titlepage.$(PRODUCT).xsl \ 
    466 $(DIRSRC)/form_html.xsl 
    467  
    468 $(DIRSRC)/$(PRODUCT)02_html.xsl : \ 
    469 $(DIRTMP)/titlepage.$(PRODUCT).xsl 
    470  
    471 $(DIRSRC)/$(PRODUCT)many01_html.xsl : \ 
    472 $(DIRTMP)/titlepage.$(PRODUCT).xsl 
    473  
    474 $(DIRSRC)/$(PRODUCT)many02_html.xsl : \ 
    475 $(DIRTMP)/titlepage.$(PRODUCT).xsl \ 
    476 $(DIRSRC)/form_html.xsl 
    477  
    478 $(DIRSRC)/$(PRODUCT)_pdf.xsl : \ 
    479 $(DIRTMP)/titlepage.$(PRODUCT).xsl 
    480  
    481 $(DIRSRC)/$(PRODUCT)01_txt.xsl : \ 
    482 $(DIRTMP)/titlepage.$(PRODUCT).xsl 
    483  
    484 $(DIRSRC)/$(PRODUCT)01_xml.xsl : \ 
    485 $(DIRSRC)/biblioentry_xml.xsl 
    486  
    487 $(DIRSRC)/select_id.xsl : \ 
    488 $(DIRSRC)/firstname_id.xsl \ 
    489 $(DIRSRC)/surname_id.xsl 
    490  
    491 $(DIRSRC)/$(PRODUCT)many01_xml.xsl : \ 
    492 $(DIRSRC)/firstname_id.xsl \ 
    493 $(DIRSRC)/surname_id.xsl \ 
    494 $(DIRSRC)/table_authors.xsl \ 
    495 $(DIRSRC)/biblioentry_xml.xsl 
    496  
    497 $(DIRSRC)/$(PRODUCT)many02_xml.xsl : \ 
    498 $(DIRSRC)/firstname_id.xsl \ 
    499 $(DIRSRC)/surname_id.xsl \ 
    500 $(DIRSRC)/table_authors.xsl 
    501  
    502 $(DIRSRC)/$(PRODUCT)02_xml.xsl : \ 
    503 $(DIRSRC)/firstname_id.xsl \ 
    504 $(DIRSRC)/surname_id.xsl \ 
    505 $(DIRSRC)/table_authors.xsl \ 
    506 $(DIRSRC)/biblioentry_xml.xsl 
    507  
    508 $(DIRSRC)/template_db.xsl : \ 
    509 $(DIRSRC)/form_db.xsl 
    510  
    511 $(DIRSRC)/years_ploticus.xsl : \ 
    512 $(DIRSRC)/biblioentry_xml.xsl 
     491        @xsltproc \ 
     492        $(XSLPARAMHTML) \ 
     493        --output $@ \ 
     494        $(DIRSRC)/template_db.xsl \ 
     495        $(DIRSRC)/user.xml 
    513496 
    514497$(DIRDOC)/images/$(PRODUCT)_fulldependencies.png : \ 
  • trunk/newreferences_db.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:html="http://www.w3.org/1999/xhtml" 
     5xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> 
     6 
    37 
    48<!-- 
     
    812update : 
    913$Id$ 
     14fplod 2008-04-29T09:09:12Z aedon.locean-ipsl.upmc.fr (Darwin) 
     15chgt for dbk5 
    1016fplod 2007-04-26T11:56:32Z aedon.locean-ipsl.upmc.fr (Darwin) 
    1117creation 
     
    1319 
    1420<xsl:template name="newreferences"> 
     21 <xsl:param name="author_id"/> 
    1522 <xsl:text>&#xA;</xsl:text> 
    16  <xsl:element name="fieldset"> 
    17    <xsl:attribute name="id">field_newreferences</xsl:attribute> 
     23 <xsl:element name="html:fieldset"> 
     24   <xsl:attribute name="xml:id">field_newreferences_<xsl:value-of select="$author_id"/></xsl:attribute> 
    1825   <xsl:text>&#xA;</xsl:text> 
    19    <xsl:element name="legend"> 
     26   <xsl:element name="html:legend"> 
    2027     New references  
    2128   </xsl:element> 
    2229   <xsl:text>&#xA;</xsl:text> 
    23    <xsl:element name="textarea">  
     30   <xsl:element name="html:textarea">  
    2431     <xsl:attribute name="name">newreferences</xsl:attribute> 
    2532     <xsl:attribute name="rows">5</xsl:attribute> 
  • trunk/personal_db.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:html="http://www.w3.org/1999/xhtml" 
     5xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> 
    36 
    47<!-- 
     
    811update : 
    912$Id$ 
     13fplod 2008-04-29T09:03:24Z aedon.locean-ipsl.upmc.fr (Darwin) 
     14chgt for dbk5 
    1015fplod 2007-04-26T10:28:19Z aedon.locean-ipsl.upmc.fr (Darwin) 
    1116creation 
     
    1419<xsl:template name="personal"> 
    1520 <xsl:param name="user"/> 
     21 <xsl:param name="author_id"/> 
    1622 <xsl:param name="visu_modif"/> <!-- ++ readonly --> 
    1723  <xsl:text>&#xA;</xsl:text> 
    18   <xsl:element name="fieldset"> 
    19    <xsl:attribute name="id">personal</xsl:attribute> 
     24  <xsl:element name="html:fieldset"> 
     25   <xsl:attribute name="xml:id">personal_<xsl:value-of select="$author_id"/></xsl:attribute> 
    2026   <xsl:text>&#xA;</xsl:text> 
    21    <xsl:element name="legend"> 
     27   <xsl:element name="html:legend"> 
    2228    Personal Information 
    2329   </xsl:element> 
    2430   <xsl:text>&#xA;</xsl:text> 
    25    <xsl:element name="label"> 
     31   <xsl:element name="html:label"> 
    2632     <xsl:text>Lastname: </xsl:text> 
    2733     <xsl:text>&#xA;</xsl:text> 
    28      <xsl:element name="input"> 
     34     <xsl:element name="html:input"> 
    2935      <xsl:attribute name="name">personal_surname</xsl:attribute> 
    3036      <xsl:attribute name="tabindex">1</xsl:attribute>  
     
    3440   </xsl:element> 
    3541   <xsl:text>&#xA;</xsl:text> 
    36    <xsl:element name="label"> 
     42   <xsl:element name="html:label"> 
    3743    <xsl:text>Firstname: </xsl:text> 
    3844    <xsl:text>&#xA;</xsl:text> 
    39     <xsl:element name="input"> 
     45    <xsl:element name="html:input"> 
    4046     <xsl:attribute name="name">personal_firstname</xsl:attribute> 
    4147     <xsl:attribute name="tabindex">2</xsl:attribute>  
     
    4551   </xsl:element> 
    4652   <xsl:text>&#xA;</xsl:text> 
    47    <xsl:element name="label"> 
     53   <xsl:element name="html:label"> 
    4854    <xsl:text>Middlename: </xsl:text> 
    4955    <xsl:text>&#xA;</xsl:text> 
    50     <xsl:element name="input"> 
     56    <xsl:element name="html:input"> 
    5157     <xsl:attribute name="name">personal_middlename</xsl:attribute> 
    5258     <xsl:attribute name="tabindex">3</xsl:attribute>  
     
    5662   </xsl:element> 
    5763   <xsl:text>&#xA;</xsl:text> 
    58    <xsl:element name="label"> 
     64   <xsl:element name="html:label"> 
    5965    <xsl:text>email: </xsl:text> 
    6066    <xsl:text>&#xA;</xsl:text> 
    61     <xsl:element name="input"> 
     67    <xsl:element name="html:input"> 
    6268     <xsl:attribute name="name">personal_email</xsl:attribute> 
    6369     <xsl:attribute name="tabindex">4</xsl:attribute>  
  • trunk/platforms_db.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:html="http://www.w3.org/1999/xhtml" 
     5xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> 
    36 
    47<!-- 
     
    811update : 
    912$Id$ 
     13fplod 2008-04-29T09:05:29Z aedon.locean-ipsl.upmc.fr (Darwin) 
     14chgt for dbk5 
    1015fplod 2007-05-18T10:25:06Z aedon.locean-ipsl.upmc.fr (Darwin) 
    1116correction pour cause de dysfonctionnement sous firefox (mais ok sous safari) : 
     
    1722<xsl:template name="platforms"> 
    1823 <xsl:param name="user"/> 
     24 <xsl:param name="author_id"/> 
    1925 <xsl:param name="visu_modif"/> 
    2026 
    2127  <xsl:text>&#xA;</xsl:text> 
    22   <xsl:element name="fieldset"> 
    23    <xsl:attribute name="id">platforms</xsl:attribute> 
     28  <xsl:element name="html:fieldset"> 
     29   <xsl:attribute name="xml:id">platforms_<xsl:value-of select="$author_id"/></xsl:attribute> 
    2430   <xsl:text>&#xA;</xsl:text> 
    25    <xsl:element name="legend"> 
     31   <xsl:element name="html:legend"> 
    2632    Used platforms 
    2733   </xsl:element> 
    2834   <xsl:text>&#xA;</xsl:text> 
    2935   <!-- ne plait pas à firefox  ++ 
    30     <xsl:element name="label"> 
     36    <xsl:element name="html:label"> 
    3137   --> 
    3238    <xsl:for-each select="$user/platforms/platform"> 
     
    3642     <xsl:choose> 
    3743      <xsl:when test="@code != 'zzz_other'"> 
    38        <xsl:element name="input"> 
     44       <xsl:element name="html:input"> 
    3945        <xsl:attribute name="name"> 
    4046         <xsl:value-of select="name()"/><xsl:text>_</xsl:text><xsl:value-of select="@code"/> 
     
    5258      </xsl:when> 
    5359      <xsl:when  test="@code = 'zzz_other'"> 
    54        <xsl:element name="label"> 
     60       <xsl:element name="html:label"> 
    5561        Other : 
    56         <xsl:element name="input"> 
     62        <xsl:element name="html:input"> 
    5763         <xsl:attribute name="name"> 
    5864          <xsl:value-of select="name()"/><xsl:text>_</xsl:text><xsl:value-of select="@code"/> 
  • trunk/processors_db.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:html="http://www.w3.org/1999/xhtml" 
     5xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> 
    36 
    47<!-- 
     
    811update : 
    912$Id$ 
     13fplod 2008-04-29T09:09:45Z aedon.locean-ipsl.upmc.fr (Darwin) 
     14chgt for dbk5 
    1015fplod 2007-04-26T15:49:44Z aedon.locean-ipsl.upmc.fr (Darwin) 
    1116creation 
     
    1419<xsl:template name="processors"> 
    1520 <xsl:param name="user"/> 
     21 <xsl:param name="author_id"/> 
    1622 <xsl:param name="visu_modif"/> <!-- ++ readonly --> 
    1723 <xsl:text>&#xA;</xsl:text> 
    18  <xsl:element name="fieldset"> 
    19    <xsl:attribute name="id">field_processors</xsl:attribute> 
     24 <xsl:element name="html:fieldset"> 
     25   <xsl:attribute name="xml:id">field_processors_<xsl:value-of select="$author_id"/></xsl:attribute> 
    2026   <xsl:text>&#xA;</xsl:text> 
    21    <xsl:element name="legend"> 
     27   <xsl:element name="html:legend"> 
    2228     Nb max of processors  
    2329   </xsl:element> 
    2430   <xsl:text>&#xA;</xsl:text> 
    25    <xsl:element name="textarea">  
     31   <xsl:element name="html:textarea">  
    2632     <xsl:attribute name="name">processors</xsl:attribute> 
    2733     <xsl:attribute name="rows">1</xsl:attribute> 
  • trunk/select_id.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:xsl="http://www.w3.org/1999/XSL/Transform" 
     5xmlns:html="http://www.w3.org/1999/xhtml"> 
     6 
    37 
    48<!-- 
     
    1014++ xforms 
    1115<OPTGROUP label="PortMaster 3"> A B C cf http://www.la-grange.net/w3c/html4.01/interact/forms.html#edef-OPTION 
    12 $Id$ 
     16fplod 2008-04-28T15:13:56Z aedon.locean-ipsl.upmc.fr (Darwin) 
     17chgt for dbk5 
    1318fplod 2007-10-17T08:09:03Z aedon.locean-ipsl.upmc.fr (Darwin) 
    1419improve sort (diacriticals) 
     
    3035 method="xml" 
    3136 indent="yes" 
    32  encoding="ISO-8859-1" 
    33  omit-xml-declaration="no" 
    34  doctype-public="-//OASIS//DTD DocBook XML V4.5//EN" 
    35  doctype-system="http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd"/> 
     37 omit-xml-declaration="no"/> 
    3638 
    3739<xsl:variable name="list_author_ids" select="///author[not( self::node() = following::author )]"/> 
    3840<xsl:template name="author_ids"> 
    39 <xsl:element name="select"> 
     41<xsl:element name="html:select"> 
     42 <xsl:attribute name="version">5.0</xsl:attribute> 
    4043<!--d'après http://enacit1.epfl.ch/exercices_html/ex_boutons.html  
    4144Navigation par menu déroulant 
     
    4447 <xsl:attribute name="size">1</xsl:attribute> 
    4548 <!-- one empty --> 
    46  <xsl:element name="option"> 
     49 <xsl:element name="html:option"> 
    4750   <xsl:attribute name="value">#</xsl:attribute> 
    4851   <xsl:attribute name="SELECTED"/> 
     
    5154 <xsl:for-each select="///author[not( self::node() = following::author )]"> 
    5255  <xsl:sort order="ascending" data-type="text" select="translate(.,'abcdefghijklmnopqrstuvwxyz éèçàùëöñó', 'ABCDEFGHIJKLMNOPQRSTUVWXYZ_EECAUEONO')"/> 
    53   <xsl:element name="option"> 
     56  <xsl:element name="html:option"> 
    5457   <xsl:variable name="author_id"> 
    5558<xsl:call-template name="surname_id"> 
  • 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"> 
  • trunk/superbib02_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 personne 
     9produce a DocBook 5 with bibliograhy references sorted by authors 
    710 
    811update : 
    912$Id$ 
     13fplod 2008-04-29T08:01:08Z aedon.locean-ipsl.upmc.fr (Darwin) 
     14chgt for dbk5 
    1015fplod 2007-10-17T07:49:19Z aedon.locean-ipsl.upmc.fr (Darwin) 
    1116improve sort (diacriticals) 
     
    2732 indent="yes" 
    2833 encoding="utf-8" 
    29  omit-xml-declaration="no" 
    30  doctype-public="-//OASIS//DTD DocBook XML V4.5//EN" 
    31  doctype-system="http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd"/> 
     34 omit-xml-declaration="no"/> 
    3235 
    3336<xsl:include href="firstname_id.xsl"/> 
     
    4043<xsl:template match="bibliography"> 
    4144 
    42 <article lang="en"> 
     45<xsl:element name="article"> 
     46<xsl:attribute name="version">5.0</xsl:attribute> 
     47<xsl:attribute name="xmlns">http://docbook.org/ns/docbook</xsl:attribute> 
     48<xsl:attribute name="xml:lang">en</xsl:attribute> 
    4349<title>NEMO - Publications - Papers by authors</title> 
    44 <articleinfo> 
     50<info> 
    4551<authorgroup> 
    4652<author><personname><firstname>Sébastien</firstname> <surname>Masson</surname></personname></author> 
     
    5258</keywordset> 
    5359<!-- ++ date --> 
    54 </articleinfo> 
    55 <highlights id="top"> 
    56 <para> 
     60</info> 
     61<para xml:id="top"> 
    5762 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 
    58 <xsl:element name="ulink"> 
    59  <xsl:attribute name="url"> 
     63<xsl:element name="link"> 
     64 <xsl:attribute name="xl:href"> 
    6065  <xsl:value-of select="'./main.php'"/> 
    6166 </xsl:attribute> 
     
    6368</xsl:element>. 
    6469</para> 
    65 </highlights> 
    6670<para> 
    6771You can also see <quote>NEMO - Publications - Papers</quote> sorted by 
    68 <xsl:element name="ulink"> 
    69  <xsl:attribute name="url"> 
     72<xsl:element name="link"> 
     73 <xsl:attribute name="xl:href"> 
    7074  <xsl:value-of select="'./superbib01.html'"/> 
    7175 </xsl:attribute> 
     
    7781</para> 
    7882 
    79 <sect1 id="intro"> 
     83<sect1 xml:id="intro"> 
    8084<title>Introduction</title> 
    8185<para> 
    8286This document provide bibliography sorted by author's id (<emphasis>SURNAME_f</emphasis>). 
    8387</para> 
    84 </sect1> 
    8588 
    8689<xsl:call-template name="table_authors"> 
    8790<xsl:with-param name="linktype" select="'internal'"/> 
    8891</xsl:call-template> 
     92</sect1> 
    8993 
    9094<!-- loop on author_ids --> 
     
    113117</xsl:for-each> 
    114118 
    115 </article> 
     119</xsl:element> 
    116120</xsl:template> 
    117121 
     
    136140--> 
    137141<xsl:element name="sect1"> 
    138 <xsl:attribute name="id"> 
     142<xsl:attribute name="xml:id"> 
    139143<xsl:value-of select="$author_id"/> 
    140144</xsl:attribute> 
    141145<xsl:element name="title"> 
    142146<xsl:value-of select="$author_name"/> 
    143 <xsl:element name="ulink"> 
    144 <xsl:attribute name="url"><xsl:text>#top</xsl:text></xsl:attribute> 
     147<xsl:element name="link"> 
     148<xsl:attribute name="xl:href"><xsl:text>#top</xsl:text></xsl:attribute> 
    145149<xsl:element name="inlinemediaobject"> 
    146150<xsl:element name="imageobject"> 
  • trunk/superbib_author.xsl

    r49 r55  
    77 
    88++ pour l'instant  
    9  $ xsltproc bibnemomaf_author.xsl biblio.xml | sort -u 
     9 $ xsltproc superbib_author.xsl biblio.xml | sort -u 
    1010 
    1111update : 
  • trunk/superbibmany01_xml.xsl

    r49 r55  
    11<?xml version="1.0" encoding="iso-8859-1"?> 
    2 <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">  
     2<xsl:stylesheet 
     3xmlns:xl="http://www.w3.org/1999/xlink" 
     4xmlns:xsl="http://www.w3.org/1999/XSL/Transform"  
     5version="1.0">  
    36 
    47<!-- 
    58module : 
    6 sortir les références bibliographiques par personne en morceau 
     9produce one DocBook 5 with bibliograhy references of one author in each 
     10 
     11this DocBook will be chuncked for html output 
    712 
    813update : 
    914$Id$ 
     15fplod 2008-04-29T08:20:09Z aedon.locean-ipsl.upmc.fr (Darwin) 
     16chgt for dbk5 
    1017fplod 2007-10-17T08:03:44Z aedon.locean-ipsl.upmc.fr (Darwin) 
    1118improve sort (diacriticals) 
     
    1522correction pour homonymes partiels 
    1623fplod 2007-05-04T09:23:05Z aedon.locean-ipsl.upmc.fr (Darwin) 
    17 creation à partir de bibnemomaf02_xml.xsl mais liens externes 
     24création à partir de bibnemomaf02_xml.xsl mais liens externes 
    1825--> 
    1926 
     
    2128 method="xml" 
    2229 indent="yes" 
    23  encoding="ISO-8859-1" 
    24  omit-xml-declaration="no" 
    25  doctype-public="-//OASIS//DTD DocBook XML V4.5//EN" 
    26  doctype-system="http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd"/> 
     30 omit-xml-declaration="no"/> 
    2731 
    2832<xsl:include href="firstname_id.xsl"/> 
     
    3539<xsl:template match="bibliography"> 
    3640 
    37 <article lang="en"> 
     41<xsl:element name="article"> 
     42<xsl:attribute name="version">5.0</xsl:attribute> 
     43<xsl:attribute name="xmlns">http://docbook.org/ns/docbook</xsl:attribute> 
     44<xsl:attribute name="xml:lang">en</xsl:attribute> 
    3845<title>NEMO - Publications - Papers by authors</title> 
    39 <articleinfo> 
     46<info> 
    4047<authorgroup> 
    4148<author><personname><firstname>Sébastien</firstname> <surname>Masson</surname></personname></author> 
     
    4754</keywordset> 
    4855<!-- ++ date --> 
    49 </articleinfo> 
    50 <highlights> 
     56</info> 
    5157<para> 
    5258 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 
    53 <xsl:element name="ulink"> 
    54  <xsl:attribute name="url"> 
     59<xsl:element name="link"> 
     60 <xsl:attribute name="xl:href"> 
    5561  <xsl:value-of select="'../../one/main.php'"/> 
    5662 </xsl:attribute> 
     
    5864</xsl:element>. 
    5965</para> 
    60 </highlights> 
    6166<para> 
    6267You can also see <quote>NEMO - Publications - Papers</quote> sorted by  
    63 <xsl:element name="ulink"> 
    64  <xsl:attribute name="url"> 
     68<xsl:element name="link"> 
     69 <xsl:attribute name="xl:href"> 
    6570  <xsl:value-of select="'../../one/superbib01.html'"/> 
    6671 </xsl:attribute> 
     
    7277</para> 
    7378 
    74 <sect1 id="intro"> 
     79<sect1 xml:id="intro"> 
    7580<title>Introduction</title> 
    7681<para> 
    7782This document provide bibliography sorted by author's id (<emphasis>SURNAME_f</emphasis>). 
    7883</para> 
    79 </sect1> 
    8084 
    8185<xsl:call-template name="table_authors"> 
    8286<xsl:with-param name="linktype" select="'external'"/> 
    8387</xsl:call-template> 
     88</sect1> 
    8489 
    8590<!-- loop on author_ids --> 
     
    108113</xsl:for-each> 
    109114 
    110 </article> 
     115</xsl:element> 
    111116</xsl:template> 
    112117 
     
    131136--> 
    132137<xsl:element name="sect1"> 
    133 <xsl:attribute name="id"> 
     138<xsl:attribute name="xml:id"> 
    134139<xsl:value-of select="$author_id"/> 
    135140</xsl:attribute> 
  • trunk/superbibmany02_xml.xsl

    r49 r55  
    11<?xml version="1.0" encoding="iso-8859-1"?> 
    2 <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">  
     2<xsl:stylesheet  
     3xmlns:xl="http://www.w3.org/1999/xlink" 
     4xmlns:xsl="http://www.w3.org/1999/XSL/Transform"  
     5version="1.0">  
    36 
    47<!-- 
    58module : 
    6 sortir un formulaire en html avec les références bibliographiques  + questions générales par personne 
     9produce one DocBook 5 with a form containing bibliograhy references and general 
     10information of one author/user 
     11 
     12this DocBook will be chuncked for html output 
    713 
    814update : 
     
    2531 indent="yes" 
    2632 encoding="ISO-8859-1" 
    27  omit-xml-declaration="yes" 
    28  doctype-public="-//OASIS//DTD DocBook XML V4.5//EN" 
    29  doctype-system="http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd"/> 
     33 omit-xml-declaration="yes"/> 
    3034 
    3135<xsl:include href="firstname_id.xsl"/> 
     
    3842<xsl:template match="bibliography"> 
    3943 
    40 <article lang="en"> 
     44<xsl:element name="article"> 
     45<xsl:attribute name="version">5.0</xsl:attribute> 
     46<xsl:attribute name="xmlns">http://docbook.org/ns/docbook</xsl:attribute> 
     47<xsl:attribute name="xml:lang">en</xsl:attribute> 
    4148<title>NEMO Survey - Known users</title> 
    42 <articleinfo> 
     49<info> 
    4350<authorgroup> 
    4451<author><personname><firstname>Sébastien</firstname> <surname>Masson</surname></personname></author> 
     
    5057</keywordset> 
    5158<!-- ++ date --> 
    52 </articleinfo> 
    53 <highlights> 
     59</info> 
     60<sect1 xml:id="intro"> 
     61<title>Intro</title> 
    5462 <xsl:element name="para"> 
    5563These pages intent to provide an form for every know user of NEMO with bibliography and information. 
     
    5866As you can imagine, this survey is not a new way to spy NEMO users and their work! The goal of this survey is simply collect and keep up-to-date information related to the use of NEMO: mainly the number of users and list of publications involving NEMO. These information and their temporal evolution are keys arguments when negotiating man-power or money to support our work. We tried to minimize as much as possible the time needed to fill this survey. Please, take a few minutes to fill it, this will greatly benefit to NEMO! 
    5967 </xsl:element> 
    60 </highlights> 
    6168<xsl:element name="para"> 
    6269   The mail sent by filling these forms will be used to update 
    63 <ulink url="../../one/main.php">Nemo-Publications-Papers</ulink> 
    64 and <ulink url="../../one/user.html">Nemo Users</ulink>. 
     70<link xl:href="../../one/main.php">Nemo-Publications-Papers</link> 
     71and <link xl:href="../../one/user.html">Nemo Users</link>. 
    6572</xsl:element> 
    6673 
     
    7683</xsl:call-template> 
    7784 
    78 <sect1 id="intro"> 
    79 <title>Intro</title> 
    80 <para> 
    81 This document provide bibliography and NEMO user's information sorted by author's id. 
    82 </para> 
    8385</sect1> 
    8486 
     
    108110</xsl:for-each> 
    109111 
    110 </article> 
     112</xsl:element> 
    111113</xsl:template> 
    112114 
     
    131133  --> 
    132134 <xsl:element name="sect1"> 
    133   <xsl:attribute name="id"> 
     135  <xsl:attribute name="xml:id"> 
    134136   <xsl:value-of select="$author_id"/> 
    135137  </xsl:attribute> 
     
    142144  <xsl:element name="para"> 
    143145   The mail sent by filling this form will be used to update 
    144 <ulink url="../../one/main.php">Nemo-Publications-Papers</ulink> 
    145 and <ulink url="../../one/user.html">Nemo Users</ulink>. 
     146<link xl:href="../../one/main.php">Nemo-Publications-Papers</link> 
     147and <link xl:href="../../one/user.html">Nemo Users</link>. 
    146148  </xsl:element> 
    147149 
  • trunk/table_authors.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<!-- 
     
    811update : 
    912$Id$ 
     13fplod 2008-04-29T08:04:57Z aedon.locean-ipsl.upmc.fr (Darwin) 
     14chgt for dbk5 
    1015fplod 2007-10-17T07:48:19Z aedon.locean-ipsl.upmc.fr (Darwin) 
    1116improve sort (diacriticals) 
     
    2126 method="xml" 
    2227 indent="yes" 
    23  encoding="ISO-8859-1" 
    24  omit-xml-declaration="no" 
    25  doctype-public="-//OASIS//DTD DocBook XML V4.5//EN" 
    26  doctype-system="http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd"/> 
     28 omit-xml-declaration="no"/> 
    2729 
    2830<xsl:template name="table_authors"> 
     
    3436 
    3537<xsl:element name="informaltable"> 
    36  <xsl:attribute name="id">author_ids</xsl:attribute> 
     38 <xsl:attribute name="xml:id">author_ids</xsl:attribute> 
    3739 <xsl:attribute name="summary">author_ids of publications</xsl:attribute> 
    3840 <xsl:attribute name="width">80%</xsl:attribute> 
     
    6769     </xsl:variable> 
    6870     <xsl:text>&#xA;</xsl:text> 
    69      <xsl:element name="ulink"> 
     71     <xsl:element name="link"> 
    7072      <xsl:choose> 
    7173       <xsl:when test="$linktype='internal'"> 
    72         <xsl:attribute name="url"><xsl:text>#</xsl:text><xsl:value-of select="$author_id"/></xsl:attribute> 
     74        <xsl:attribute name="xl:href"><xsl:text>#</xsl:text><xsl:value-of select="$author_id"/></xsl:attribute> 
    7375       </xsl:when> 
    7476       <xsl:when test="$linktype='external'"> 
    75         <xsl:attribute name="url"><xsl:value-of select="concat($author_id,$html.ext)"/></xsl:attribute> 
     77        <xsl:attribute name="xl:href"><xsl:value-of select="concat($author_id,$html.ext)"/></xsl:attribute> 
    7678       </xsl:when> 
    7779       <xsl:otherwise> 
  • trunk/template_db.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:html="http://www.w3.org/1999/xhtml" 
     5xmlns:xl="http://www.w3.org/1999/xlink" 
     6xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> 
    37 
    48<!-- 
     
    812update : 
    913$Id$ 
     14fplod 2008-04-29T10:28:37Z aedon.locean-ipsl.upmc.fr (Darwin) 
     15chgt for dbk5 
     16fplod 2007-04-26T09:31:32Z aedon.locean-ipsl.upmc.fr (Darwin) 
    1017creation 
    11 fplod 2007-04-26T09:31:32Z aedon.locean-ipsl.upmc.fr (Darwin) 
    1218--> 
    1319 
     
    1622 indent="yes" 
    1723 encoding="ISO-8859-1" 
    18  omit-xml-declaration="no" 
    19  doctype-public="-//OASIS//DTD DocBook XML V4.5//EN" 
    20  doctype-system="http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd"/> 
     24 omit-xml-declaration="no"/> 
    2125 
    2226<xsl:include href="form_db.xsl"/> 
     
    2832 
    2933<xsl:template match="user[child::userid='template']"> 
    30 <article id="template_form" lang="en"> 
     34<xsl:element name="article"> 
     35<xsl:attribute name="version">5.0</xsl:attribute> 
     36<xsl:attribute name="xmlns">http://docbook.org/ns/docbook</xsl:attribute> 
     37<!--++ 
     38<xsl:attribute name="xmlns:html">http://www.w3.org/1999/xhtml</xsl:attribute> 
     39++--> 
     40<xsl:attribute name="xml:lang">en</xsl:attribute> 
     41<xsl:attribute name="xml:id">template_form</xsl:attribute> 
     42 
    3143 <title>Nemo Survey - Template</title> 
    32 <articleinfo> 
     44<info> 
    3345<authorgroup> 
    3446<author><personname><firstname>Sébastien</firstname> <surname>Masson</surname></personname></author> 
     
    4052</keywordset> 
    4153<!-- ++ date --> 
    42 </articleinfo> 
     54</info> 
    4355 
    4456 <xsl:comment>  
     
    4860 <xsl:text>&#xA;</xsl:text> 
    4961 <xsl:element name="sect1"> 
    50   <xsl:attribute name="id">intro</xsl:attribute> 
     62  <xsl:attribute name="xml:id">intro</xsl:attribute> 
    5163  <title>Context</title> 
    5264  <xsl:element name="para"> 
    5365   The mail sent by filling this form will be used to update  
    54 <ulink url="main.php">Nemo-Publications-Papers</ulink> 
    55 and <ulink url="user.html">Nemo Users</ulink>. 
     66<link xl:href="main.php">Nemo-Publications-Papers</link> 
     67and <link xl:href="user.html">Nemo Users</link>. 
    5668  </xsl:element> 
    5769 </xsl:element> 
    5870 <xsl:text>&#xA;</xsl:text> 
    5971 <xsl:element name="sect1"> 
    60   <xsl:attribute name="id"><xsl:value-of select="userid"/></xsl:attribute> 
     72  <xsl:attribute name="xml:id"><xsl:value-of select="userid"/></xsl:attribute> 
    6173  <xsl:text>&#xA;</xsl:text> 
    6274  <xsl:choose> 
     
    8395 <xsl:text>&#xA;</xsl:text> 
    8496 </xsl:element> 
    85 </article> 
     97</xsl:element> 
    8698</xsl:template> 
    8799 
  • trunk/user_db.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<!-- 
     
    811update : 
    912$Id$ 
     13fplod 2008-04-29T10:23:26Z aedon.locean-ipsl.upmc.fr (Darwin) 
     14chgt for dbk5 
    1015fplod 2007-06-06T10:20:22Z aedon.locean-ipsl.upmc.fr (Darwin) 
    1116add middle name 
     
    2530 indent="yes" 
    2631 encoding="ISO-8859-1" 
    27  omit-xml-declaration="no" 
    28  doctype-public="-//OASIS//DTD DocBook XML V4.5//EN" 
    29  doctype-system="http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd"/> 
     32 omit-xml-declaration="no"/> 
    3033 
    3134<xsl:template match="users"> 
    32  <article id="users" lang="en"> 
     35 
     36<xsl:element name="article"> 
     37<xsl:attribute name="version">5.0</xsl:attribute> 
     38<xsl:attribute name="xmlns">http://docbook.org/ns/docbook</xsl:attribute> 
     39<xsl:attribute name="xml:lang">en</xsl:attribute> 
     40<xsl:attribute name="xml:id">users</xsl:attribute> 
     41 
    3342 
    3443 <title>Nemo Users</title> 
    35 <articleinfo> 
     44<info> 
    3645<authorgroup> 
    3746<author><personname><firstname>Sébastien</firstname> <surname>Masson</surname></personname></author> 
     
    4251<keyword>NEMO</keyword> 
    4352</keywordset> 
    44 </articleinfo> 
    45 <highlights id="top"> 
    46 <para> 
     53</info> 
     54<para xml:id="top"> 
    4755This page intents to provide an exhaustive list of the papers that have used  
    4856NEMO or OPA and/or results from them.  
    4957Obvioulsy many papers are missing. 
    5058If you find omissions or mistakes please ask some modification via 
    51 <xsl:element name="ulink"> 
    52  <xsl:attribute name="url"> 
     59<xsl:element name="link"> 
     60 <xsl:attribute name="xl:href"> 
    5361  <xsl:value-of select="'./main.php'"/> 
    5462 </xsl:attribute> 
     
    5664</xsl:element>. 
    5765</para> 
    58 </highlights> 
    5966<para> 
    6067Yoy can also see <quote>NEMO - Publications - Papers</quote> sorted by 
    6168<xsl:text>authors</xsl:text> 
    6269authors in 
    63 <xsl:element name="ulink"> 
    64  <xsl:attribute name="url"> 
     70<xsl:element name="link"> 
     71 <xsl:attribute name="xl:href"> 
    6572  <xsl:value-of select="'./superbib02.html'"/> 
    6673 </xsl:attribute> 
     
    6875</xsl:element> 
    6976<xsl:text> or in </xsl:text> 
    70 <xsl:element name="ulink"> 
    71  <xsl:attribute name="url"> 
     77<xsl:element name="link"> 
     78 <xsl:attribute name="xl:href"> 
    7279  <xsl:value-of select="'../many/superbib01/index.html'"/> 
    7380 </xsl:attribute> 
     
    8087</para> 
    8188 
    82 <sect1 id="intro"> 
     89<sect1 xml:id="intro"> 
    8390<title>Introduction</title> 
    8491<para> 
     
    93100  </xsl:if> 
    94101 </xsl:for-each> 
    95  </article> 
     102 </xsl:element> 
    96103</xsl:template> 
    97104 
     
    99106 <xsl:text>&#xA;</xsl:text> 
    100107 <xsl:element name="sect1"> 
    101   <xsl:attribute name="id"><xsl:value-of select="userid"/></xsl:attribute> 
     108  <xsl:attribute name="xml:id"><xsl:value-of select="userid"/></xsl:attribute> 
    102109  <xsl:text>&#xA;</xsl:text> 
    103110  <xsl:element name="title"> 
    104111   <xsl:value-of select="personname/firstname"/> <xsl:text> </xsl:text> <xsl:value-of select="personname/othername[@role='mi']"/> <xsl:text> </xsl:text> <xsl:value-of select="personname/surname"/> 
    105    <xsl:element name="ulink"> 
    106     <xsl:attribute name="url"><xsl:text>#top</xsl:text></xsl:attribute> 
     112   <xsl:element name="link"> 
     113    <xsl:attribute name="xl:href"><xsl:text>#top</xsl:text></xsl:attribute> 
    107114    <xsl:element name="inlinemediaobject"> 
    108115     <xsl:element name="imageobject"> 
     
    127134   <xsl:call-template name="components"> 
    128135    <xsl:with-param name="user" select="."/> 
     136    <xsl:with-param name="author_id" select="./userid"/> 
    129137    <xsl:with-param name="visu_modif" select="'visu'"/> 
    130138   </xsl:call-template> 
    131139   <xsl:call-template name="platforms"> 
    132140    <xsl:with-param name="user" select="."/> 
     141    <xsl:with-param name="author_id" select="./userid"/> 
    133142    <xsl:with-param name="visu_modif" select="'visu'"/> 
    134143   </xsl:call-template> 
    135144   <xsl:call-template name="processors"> 
    136145    <xsl:with-param name="user" select="."/> 
     146    <xsl:with-param name="author_id" select="./userid"/> 
    137147    <xsl:with-param name="visu_modif" select="'visu'"/> 
    138148   </xsl:call-template> 
    139149   <xsl:call-template name="compilers"> 
    140150    <xsl:with-param name="user" select="."/> 
     151    <xsl:with-param name="author_id" select="./userid"/> 
    141152    <xsl:with-param name="visu_modif" select="'visu'"/> 
    142153   </xsl:call-template> 
Note: See TracChangeset for help on using the changeset viewer.