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] Nesting in $bibliography.collection


Thank you for that confirmation. I thought the extra slash was the answer.

If I could take forward the discussion of what a bibliodiv might to, my 
suggestion would be that the bibliography collection mechanism is like a 
customised "xi:include", with the XPath expression in the style sheet 
specifying the required fragment. The bibliography element in the source 
document has "dummy" bibliomixed elements and these can (presumably) be 
nested inside bibliodivs. It would therefore be the structure of the 
bibliography in the source which is used. The structure in the 
bibliography collection is not applicable to the document in hand. An 
existing reflection of this is that a bibliography/title element in the 
collection is not used in output.

Nigel

Bob Stayton wrote:
> 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
>>
>>
>>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: docbook-apps-unsubscribe@lists.oasis-open.org
> For additional commands, e-mail: docbook-apps-help@lists.oasis-open.org
>


-- 
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%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 



[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]