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