source: trunk/superbib01_txt.xsl @ 140

Last change on this file since 140 was 76, checked in by pinsard, 16 years ago

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

  • Property svn:keywords set to Id
File size: 1.4 KB
RevLine 
[64]1<?xml version='1.0' encoding='ISO-8859-1'?>
2<xsl:stylesheet
3xmlns:d="http://docbook.org/ns/docbook"
4xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
5version="1.0">
[49]6
[2]7<!--
8module :
[76]9transformation of a DocBook file into a text file eatable by bibopa.sh
[2]10
[64]11example pour test demo1
12$ xsltproc \-\-param makedate "'$(date -u +"%Y-%m-%dT%H:%M:%SZ")'" \
[66]13  \-\-output /tmp/bibdemo1_dbk5.txt \
14  superbib01_txt.xsl data/bibdemo1_dbk5.xml
[64]15$ ./bibopa.sh -p demo1 -i /tmp/bibdemo1_dbk5.txt -t raw -l fr
[66]16$ diff biblio.xml data/bibdemo1_dbk5.xml
[64]17
[48]18update :
[33]19$Id$
[64]20fplod 2008-05-06T13:06:45Z aedon.locean-ipsl.upmc.fr (Darwin)
21reactivation to provide opposite action of bibopa.sh
[2]22fplod 2007-04-06T14:27:24Z zeus.locean-ipsl.upmc.fr (Linux)
[64]23creation
[2]24-->
25
[64]26<!--
[2]27<xsl:import href="http://docbook.sourceforge.net/release/xsl/current/xhtml/docbook.xsl"/>
[64]28-->
[2]29
[64]30<xsl:output method="text"
31encoding="ISO-8859-1"
[2]32indent="yes"/>
33
[64]34<xsl:include href="biblioentry_xml.xsl"/>
[2]35
[64]36<xsl:template match="d:bibliography">
37<xsl:text># update </xsl:text><xsl:value-of select="$makedate"/>
38<xsl:text>&#xA;</xsl:text>
39<xsl:for-each select="d:biblioentry">
40 <xsl:call-template name="one_biblioentry">
41 <xsl:with-param name="visu_modif" select="'visu'"/>
[66]42 <xsl:with-param name="type" select="'raw'"/>
[64]43 <xsl:with-param name="my_biblioentry" select="."/>
44</xsl:call-template>
45<xsl:text>&#xA;</xsl:text>
[2]46
[64]47</xsl:for-each>
48</xsl:template>
49</xsl:stylesheet>
Note: See TracBrowser for help on using the repository browser.