$bibliography-collection
$bibliography-collection — An external collection of bibliography entries.
Synopsis
$bibliography-collection as xs:string := ''
Description
It’s often convenient to share a common bibliography
across many documents. If
$bibliography-collection
points to a
bibliography, the stylesheets will automatically populate bibliography
entries in the document being transformed.
To achieve this:
Create a shared bibliography and store it somewhere. Make sure that each entry in your shared bibliography has a unique
xml:id
value.Run your transformation with
$bibliography-collection
set to the URI of that document.In the document you’re transforming, refer to the shared entries with completely empty
biblioentry
orbibliomixed
elements that have the samexml:id
as an entry in the shared bibliography.
The stylesheets will copy those entries into your document before processing it.