From: Bob Stayton Date: Sat, 17 Mar 2012 21:36:21 +0000 (+0000) Subject: Clarify how relative paths are resolved. X-Git-Tag: release/1.79.1~6^2~527 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=683ceccc8f60e9262551f8fb9fb7a7f0f8a162ed;p=docbook-dsssl Clarify how relative paths are resolved. --- diff --git a/xsl/params/bibliography.collection.xml b/xsl/params/bibliography.collection.xml index ee49ddea4..6b80ce308 100644 --- a/xsl/params/bibliography.collection.xml +++ b/xsl/params/bibliography.collection.xml @@ -97,6 +97,25 @@ bibliography entries in exactly the same way you do now. customization layer or directly through your processor's interface) to point to your global bibliography. +A relative path in the parameter is interpreted in one +of two ways: + + + If your document contains no links to empty bibliographic elements, + then the path is relative to the file containing + the first bibliomixed element in the document. + + + If your document does contain links to empty bibliographic elements, + then the path is relative to the file containing + the first such link element in the document. + + + +Once the collection file is opened by the first instance described +above, it stays open for the current document +and the relative path is not reinterpreted again. + The stylesheets will format the bibliography in your document as if all of the entries referenced appeared there literally. diff --git a/xsl/params/glossary.collection.xml b/xsl/params/glossary.collection.xml index 5d5f80301..9db037c63 100644 --- a/xsl/params/glossary.collection.xml +++ b/xsl/params/glossary.collection.xml @@ -202,6 +202,9 @@ of two ways: firstterm in the document to be linked. +Once the collection file is opened by the first instance described +above, it stays open for the current document +and the relative path is not reinterpreted again. The stylesheets will format the glossary in your document as if all of the entries implicilty referenced appeared there literally.