OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-apps message

[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" 
            <xsl:sort select="./abbrev"/>
            <xsl:sort select="./@xreflabel"/>
            <xsl:sort select="./@id"/>

    <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) &gt; 0 or count($nc) &gt; 0">
        <xsl:call-template name="biblioentry.output"/>


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]