[Refdb-cvs] CVS: refdb/xsl/refdb/docbk-refdb-xsl/docbk-xhtml docbk-refdb-xhtml.xsl.in,1.4,1.5
Status: Beta
Brought to you by:
mhoenicka
|
From: Markus H. <mho...@us...> - 2004-03-11 19:33:08
|
Update of /cvsroot/refdb/refdb/xsl/refdb/docbk-refdb-xsl/docbk-xhtml In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv1792 Modified Files: docbk-refdb-xhtml.xsl.in Log Message: updated bibliography element to newest DB version Index: docbk-refdb-xhtml.xsl.in =================================================================== RCS file: /cvsroot/refdb/refdb/xsl/refdb/docbk-refdb-xsl/docbk-xhtml/docbk-refdb-xhtml.xsl.in,v retrieving revision 1.4 retrieving revision 1.5 diff -u -U2 -r1.4 -r1.5 --- docbk-refdb-xhtml.xsl.in 11 Mar 2004 18:53:46 -0000 1.4 +++ docbk-refdb-xhtml.xsl.in 11 Mar 2004 19:06:17 -0000 1.5 @@ -27,16 +27,24 @@ <!-- we pick only RefDB bibliographies --> <xsl:template match="bibliography[@role='refdb']"> - <xsl:variable name="id"><xsl:call-template name="object.id"/></xsl:variable> + <div class="{name(.)}"> + <xsl:if test="$generate.id.attributes != 0"> + <xsl:attribute name="id"> + <xsl:call-template name="object.id"/> + </xsl:attribute> + </xsl:if> - <div id="{$id}" class="{name(.)}"> <xsl:call-template name="bibliography.titlepage"/> + <xsl:for-each select="bibliomixed"> - <!-- <p><xsl:apply-templates select="." mode="refdb"/></p> --> <xsl:apply-templates select="." mode="refdb"/> </xsl:for-each> - <xsl:call-template name="process.footnotes"/> + + <xsl:if test="not(parent::article)"> + <xsl:call-template name="process.footnotes"/> + </xsl:if> </div> </xsl:template> + <!-- one bibliography entry. We process only the bibliography part and suppress the inline parts --> |