Last change
on this file was
323,
checked in by pinsard, 11 years ago
|
fix for XSL documentations
|
-
Property svn:keywords set to
Id
|
File size:
1.4 KB
|
Line | |
---|
1 | <?xml version='1.0' encoding='ISO-8859-1'?> |
---|
2 | <xsl:stylesheet |
---|
3 | xmlns:d="http://docbook.org/ns/docbook" |
---|
4 | xmlns:xsl="http://www.w3.org/1999/XSL/Transform" |
---|
5 | version="1.0"> |
---|
6 | |
---|
7 | <!--rst |
---|
8 | |
---|
9 | .. _superbib02_txt.xsl: |
---|
10 | |
---|
11 | ================== |
---|
12 | superbib02_txt.xsl |
---|
13 | ================== |
---|
14 | |
---|
15 | DESCRIPTION |
---|
16 | =========== |
---|
17 | |
---|
18 | transformation of a DocBook file into a BibTeX file |
---|
19 | |
---|
20 | EXAMPLES |
---|
21 | ======== |
---|
22 | |
---|
23 | example pour test demo1 |
---|
24 | |
---|
25 | .. code-block:: sh |
---|
26 | |
---|
27 | xsltproc \-\-param makedate "'$(date -u +"%Y-%m-%dT%H:%M:%SZ")'" \ |
---|
28 | \-\-output /tmp/bibdemo1_dbk5.bib \ |
---|
29 | superbib02_txt.xsl data/bibdemo1_dbk5.xml |
---|
30 | bibopa.sh -p demo1 -i /tmp/bibdemo1_dbk5.bib -t bibtex -l fr |
---|
31 | diff biblio.xml data/bibdemo1_dbk5.xml |
---|
32 | |
---|
33 | TODO |
---|
34 | ==== |
---|
35 | |
---|
36 | not finished |
---|
37 | |
---|
38 | EVOLUTIONS |
---|
39 | ========== |
---|
40 | |
---|
41 | $Id$ |
---|
42 | |
---|
43 | - fplod 2008-05-13T15:12:47Z aedon.locean-ipsl.upmc.fr (Darwin) |
---|
44 | |
---|
45 | * creation |
---|
46 | |
---|
47 | --> |
---|
48 | |
---|
49 | <!-- |
---|
50 | <xsl:import href="http://docbook.sourceforge.net/release/xsl/current/xhtml/docbook.xsl"/> |
---|
51 | --> |
---|
52 | |
---|
53 | <xsl:output method="text" |
---|
54 | encoding="ISO-8859-1" |
---|
55 | indent="yes"/> |
---|
56 | |
---|
57 | <xsl:include href="biblioentry_xml.xsl"/> |
---|
58 | |
---|
59 | <xsl:template match="d:bibliography"> |
---|
60 | <xsl:text>% update </xsl:text><xsl:value-of select="$makedate"/> |
---|
61 | <xsl:text>
</xsl:text> |
---|
62 | <xsl:for-each select="d:biblioentry"> |
---|
63 | <xsl:call-template name="one_biblioentry"> |
---|
64 | <xsl:with-param name="visu_modif" select="'visu'"/> |
---|
65 | <xsl:with-param name="type" select="'bibtex'"/> |
---|
66 | <xsl:with-param name="my_biblioentry" select="."/> |
---|
67 | </xsl:call-template> |
---|
68 | <xsl:text>
</xsl:text> |
---|
69 | |
---|
70 | </xsl:for-each> |
---|
71 | </xsl:template> |
---|
72 | </xsl:stylesheet> |
---|
Note: See
TracBrowser
for help on using the repository browser.