[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: Re: [docbook-apps] Nesting in $bibliography.collection
Yes, bibliodiv elements are not supported in a bibliography collection at
this time. There were questions about how such divisions should be
handled. That is, should a reference to an entry in a division generate a
division in the output? Should that be an option?
The template with match="biblioentry" in fo/biblio.xsl handles the
selection. Currently it uses:
<xsl:variable name="entry" select="$bib/bibliography/
*[@id=$id or @xml:id=$id][1]"/>
To get it working for you, you could customize it to:
<xsl:variable name="entry" select="$bib/bibliography//
*[@id=$id or @xml:id=$id][1]"/>
(note the extra slash in the path)
This should probably be added to the distribution template, but we are
currently frozen pending a new point release.
Bob Stayton
Sagehill Enterprises
DocBook Consulting
bobs@sagehill.net
----- Original Message -----
From: "Nigel hardy" <nwh@aber.ac.uk>
To: <docbook-apps@lists.oasis-open.org>
Sent: Tuesday, August 21, 2007 6:35 AM
Subject: [docbook-apps] Nesting in $bibliography.collection
>I have just had a system break and discovered that it seems to be because
>I introduced bibliodiv elements into the document identified by
>$bibliography.collection. I am using docbook-xsl-1.72.0
>
> From inspection the XSL seems to back up this observation. It is looking
> for direct children of bibliography.
>
> Is this intended? Am I missing something?
>
> Nigel
>
> --
> %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%lt%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
> Nigel Hardy Tel: +44 1970 622 434. http://users.aber.ac.uk/nwh/
> Dept. Computer Sci, University of Wales, Aberystwyth, SY23 3DB, UK
> Adran Cyfrifiadureg, Prifysgol Cymru, Aberystwyth, SY23 3DB, UK
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: docbook-apps-unsubscribe@lists.oasis-open.org
> For additional commands, e-mail: docbook-apps-help@lists.oasis-open.org
>
>
>
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]