Changeset 28


Ignore:
Timestamp:
10/17/07 10:28:07 (17 years ago)
Author:
pinsard
Message:

improve diacritical authors sort in table and lists

Location:
trunk
Files:
7 edited

Legend:

Unmodified
Added
Removed
  • trunk/bibnemomaf01_xml.xsl

    r16 r28  
    1111$Id$ 
    1212++ plein de trucs 
     13fplod 2007-10-17T08:01:14Z aedon.locean-ipsl.upmc.fr (Darwin) 
     14improve authors sort (diacriticals)  
    1315fplod 2007-06-08T08:36:48Z aedon.locean-ipsl.upmc.fr (Darwin) 
    1416add total nb of publications in one cell. quite interesting usage of 
     
    225227  <orderedlist> 
    226228   <xsl:for-each select="/descendant::biblioentry[child::biblioset[child::pubdate=$year]]|/descendant::biblioentry[child::date=$year]"> 
    227     <xsl:sort order="ascending" data-type="text" select="./authorgroup/author/personname/surname"/> 
    228     <xsl:sort order="ascending" data-type="text" select="./authorgroup/author/personname/firstname"/> 
     229    <xsl:sort order="ascending" data-type="text" select="translate(./authorgroup/author/personname,'abcdefghijklmnopqrstuvwxyz éèçàùëöñó','ABCDEFGHIJKLMNOPQRSTUVWXYZ_EECAUEONO')"/> 
    229230    <xsl:call-template name="one_biblioentry"> 
    230231     <xsl:with-param name="visu_modif" select="'visu'"/> 
  • trunk/bibnemomaf02_xml.xsl

    r2 r28  
    99 
    1010update : 
     11fplod 2007-10-17T07:49:19Z aedon.locean-ipsl.upmc.fr (Darwin) 
     12improve sort (diacriticals) 
    1113fplod 2007-05-18T14:31:33Z aedon.locean-ipsl.upmc.fr (Darwin) 
    1214modif gestion id 
     
    9294<!-- loop on author_ids --> 
    9395<xsl:for-each select="$list_author_ids"> 
    94 <xsl:sort order="ascending" data-type="text" select="."/> 
    95 <!-- 
    96 <xsl:message><xsl:value-of select="."/></xsl:message> 
    97 --> 
     96<xsl:sort order="ascending" data-type="text" select="translate(.,'abcdefghijklmnopqrstuvwxyz éèçàùëöñó', 'ABCDEFGHIJKLMNOPQRSTUVWXYZ_EECAUEONO')"/> 
    9897<xsl:variable name="author_id2"> 
    9998<xsl:call-template name="surname_id"> 
  • trunk/bibnemomaf03_xml.xsl

    r25 r28  
    99 
    1010update : 
     11fplod 2007-10-17T08:03:44Z aedon.locean-ipsl.upmc.fr (Darwin) 
     12improve sort (diacriticals) 
    1113fplod 2007-05-18T14:57:52Z aedon.locean-ipsl.upmc.fr (Darwin) 
    1214modif gestion id 
     
    8890<!-- loop on author_ids --> 
    8991<xsl:for-each select="$list_author_ids"> 
    90 <xsl:sort order="ascending" data-type="text" select="."/> 
     92<xsl:sort order="ascending" data-type="text" select="translate(.,'abcdefghijklmnopqrstuvwxyz éèçàùëöñó', 'ABCDEFGHIJKLMNOPQRSTUVWXYZ_EECAUEONO')"/> 
    9193<xsl:variable name="author_id2"> 
    9294<xsl:call-template name="surname_id"> 
     
    148150 
    149151    <xsl:for-each select="descendant::author"> 
    150      <xsl:sort order="ascending" data-type="text" select="./personname/surname"/> 
    151      <xsl:sort order="ascending" data-type="text" select="./personname/firstname"/> 
     152     <xsl:sort order="ascending" data-type="text" select="translate(./personname,'abcdefghijklmnopqrstuvwxyz éèçàùëöñó', 'ABCDEFGHIJKLMNOPQRSTUVWXYZ_EECAUEONO')"/> 
    152153     <xsl:variable name="author_id2"> 
    153154<xsl:call-template name="surname_id"> 
  • trunk/bibnemomaf04_xml.xsl

    r25 r28  
    1010update : 
    1111++ parametrer le nom du fichier "base utilisateur" usernemo.xml 
     12fplod 2007-10-17T08:06:40Z aedon.locean-ipsl.upmc.fr (Darwin) 
     13improve sort (diacriticals) 
    1214fplod 2007-05-18T14:59:29Z aedon.locean-ipsl.upmc.fr (Darwin) 
    1315modif gestion id 
     
    8991<!-- loop on author_ids --> 
    9092<xsl:for-each select="$list_author_ids"> 
    91  <xsl:sort order="ascending" data-type="text" select="."/> 
     93 <xsl:sort order="ascending" data-type="text" select="translate(.,'abcdefghijklmnopqrstuvwxyz éèçàùëöñó', 'ABCDEFGHIJKLMNOPQRSTUVWXYZ_EECAUEONO')"/> 
    9294 <xsl:variable name="author_id2"> 
    9395<xsl:call-template name="surname_id"> 
  • trunk/form_db.xsl

    r2 r28  
    99 
    1010update : 
     11fplod 2007-10-17T08:07:50Z aedon.locean-ipsl.upmc.fr (Darwin) 
     12improve sort (diacriticals) 
    1113fplod 2007-05-18T14:56:32Z aedon.locean-ipsl.upmc.fr (Darwin) 
    1214modif gestion de id 
     
    113115 
    114116     <xsl:for-each select="descendant::author"> 
    115       <xsl:sort order="ascending" data-type="text" select="./personname/surname"/> 
    116       <xsl:sort order="ascending" data-type="text" select="./personname/firstname"/> 
     117      <xsl:sort order="ascending" data-type="text" select="translate(./personname,'abcdefghijklmnopqrstuvwxyz éèçàùëöñó', 'ABCDEFGHIJKLMNOPQRSTUVWXYZ_EECAUEONO')"/> 
    117118      <xsl:variable name="author_id2"> 
    118119<xsl:call-template name="surname_id"> 
  • trunk/select_id.xsl

    r2 r28  
    1111++ xforms 
    1212<OPTGROUP label="PortMaster 3"> A B C cf http://www.la-grange.net/w3c/html4.01/interact/forms.html#edef-OPTION 
     13fplod 2007-10-17T08:09:03Z aedon.locean-ipsl.upmc.fr (Darwin) 
     14improve sort (diacriticals) 
    1315fplod 2007-05-18T14:52:55Z aedon.locean-ipsl.upmc.fr (Darwin) 
    1416modif gestion id 
     
    5254 </xsl:element> 
    5355 <xsl:for-each select="///author[not( self::node() = following::author )]"> 
    54   <xsl:sort order="ascending" data-type="text" select="."/> 
     56  <xsl:sort order="ascending" data-type="text" select="translate(.,'abcdefghijklmnopqrstuvwxyz éèçàùëöñó', 'ABCDEFGHIJKLMNOPQRSTUVWXYZ_EECAUEONO')"/> 
    5557  <xsl:element name="option"> 
    5658   <xsl:variable name="author_id"> 
  • trunk/table_authors.xsl

    r2 r28  
    33<!-- 
    44module : 
    5 création d'une table avec tous les auteurs et le lien interne ou externe associé 
     5creation of a table with every author with an associated external or internal link 
    66 
    77source : 
     
    99 
    1010update : 
    11 ++ plein de trucs 
     11fplod 2007-10-17T07:48:19Z aedon.locean-ipsl.upmc.fr (Darwin) 
     12improve sort (diacriticals) 
    1213fplod 2007-05-18T14:40:38Z aedon.locean-ipsl.upmc.fr (Darwin) 
    1314modif gestion des id 
     
    4950  <xsl:element name="tbody"> 
    5051   <xsl:for-each select="///author[not( self::node() = following::author )]"> 
    51     <xsl:sort order="ascending" data-type="text" select="."/> 
     52    <xsl:sort order="ascending" data-type="text" select="translate(.,'abcdefghijklmnopqrstuvwxyz éèçàùëöñó', 'ABCDEFGHIJKLMNOPQRSTUVWXYZ_EECAUEONO')"/> 
    5253    <xsl:if test="position() = 1 or position() mod $nb_cols = 1"> 
    5354     <xsl:text>&#xA;</xsl:text> 
Note: See TracChangeset for help on using the changeset viewer.