[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: Re: [docbook-apps] A very small BibTeX-like system for DocBook
Hi all,
Just a short note, in db2latex we did something like this:
<xsl:apply-templates select="biblioentry"
mode="bibliography.cited">
<xsl:sort select="./abbrev"/>
<xsl:sort select="./@xreflabel"/>
<xsl:sort select="./@id"/>
</xsl:apply-templates>
....
<xsl:template match="biblioentry" mode="bibliography.cited">
<xsl:param name="bibid" select="@id"/>
<xsl:param name="ab" select="abbrev"/>
<xsl:variable name="nx" select="//xref[@linkend=$bibid]"/>
<xsl:variable name="nc" select="//citation[text()=$ab]"/>
<xsl:if test="count($nx) > 0 or count($nc) > 0">
<xsl:call-template name="biblioentry.output"/>
</xsl:if>
</xsl:template>
regards,
r.
On Mon, 8 Sep 2003, Stephane Bortzmeyer wrote:
> My small work of the day. Many people requested a BibTeX-like system
> for DocBook allowing the inclusion of only the cited references. My
> solution is not perfect but it is lightweight, requires only a XSL
> processor, and it works for me. Comments welcome, the files are small
> so I include them all.
>
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]