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
Line 
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">
6
7<!--
8module :
9transformation of a DocBook file into a text file eatable by bibopa.sh
10
11example pour test demo1
12$ xsltproc \-\-param makedate "'$(date -u +"%Y-%m-%dT%H:%M:%SZ")'" \
13  \-\-output /tmp/bibdemo1_dbk5.txt \
14  superbib01_txt.xsl data/bibdemo1_dbk5.xml
15$ ./bibopa.sh -p demo1 -i /tmp/bibdemo1_dbk5.txt -t raw -l fr
16$ diff biblio.xml data/bibdemo1_dbk5.xml
17
18update :
19$Id$
20fplod 2008-05-06T13:06:45Z aedon.locean-ipsl.upmc.fr (Darwin)
21reactivation to provide opposite action of bibopa.sh
22fplod 2007-04-06T14:27:24Z zeus.locean-ipsl.upmc.fr (Linux)
23creation
24-->
25
26<!--
27<xsl:import href="http://docbook.sourceforge.net/release/xsl/current/xhtml/docbook.xsl"/>
28-->
29
30<xsl:output method="text"
31encoding="ISO-8859-1"
32indent="yes"/>
33
34<xsl:include href="biblioentry_xml.xsl"/>
35
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'"/>
42 <xsl:with-param name="type" select="'raw'"/>
43 <xsl:with-param name="my_biblioentry" select="."/>
44</xsl:call-template>
45<xsl:text>&#xA;</xsl:text>
46
47</xsl:for-each>
48</xsl:template>
49</xsl:stylesheet>
Note: See TracBrowser for help on using the repository browser.