Ignore:
Timestamp:
04/30/08 12:01:25 (16 years ago)
Author:
pinsard
Message:

migration to docbook5 for biblio.xml; bug fix in bibopa.sh; xmlto is not anymore needed; xml(starlet) must be available

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/years_ploticus.xsl

    r54 r56  
    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:d="http://docbook.org/ns/docbook" 
     5xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> 
    36 
    47<!-- 
     
    1619update : 
    1720$Id$ 
     21fplod 2008-04-29T15:28:53Z aedon.locean-ipsl.upmc.fr (Darwin) 
     22chgt for dbk5 in 
    1823/usr/home/fplod/src/superbib_ws/years_ploticus.xsl sur aedon.locean-ipsl.upmc.fr 
    1924inspired by /sw/share/ploticus2/pltestsuite/bars3.htm 
     
    2530<xsl:include href="biblioentry_xml.xsl"/> 
    2631 
    27 <xsl:key name="key_years" match="///pubdate" use="."/> 
     32<xsl:key name="key_years" match="///d:pubdate" use="."/> 
    2833 
    29 <xsl:template match="bibliography"> 
     34<xsl:template match="d:bibliography"> 
    3035# 
    3136#  $ ploticus -o years.png png years.ploticus 
     
    4045data: 
    4146<!-- loop on years --> 
    42 <xsl:for-each select="///pubdate[generate-id(.) = generate-id(key('key_years', .)[1])]"> 
     47<xsl:for-each select="///d:pubdate[generate-id(.) = generate-id(key('key_years', .)[1])]"> 
    4348 <xsl:sort order="ascending" data-type="number" select="."/> 
    4449 <xsl:call-template name="one_year"> 
     
    8186 
    8287 <xsl:text> </xsl:text> 
    83  <xsl:value-of select="count(/descendant::biblioentry[child::biblioset[child::pubdate=$year]]) "/> 
     88 <xsl:value-of select="count(/descendant::d:biblioentry[child::d:biblioset[child::d:pubdate=$year]]) "/> 
    8489 <xsl:text>&#xA;</xsl:text> 
    8590</xsl:template> 
Note: See TracChangeset for help on using the changeset viewer.