This is the mail archive of the docbook-apps@lists.oasis-open.org mailing list .
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
On Thu, Nov 15, 2001 at 12:29:13PM -0500, Tammy Fox wrote: > I have my stylesheet set to generate a link to a separate > HTML page for the legalnotice. My legalnotice has > an id set for it: <legalnotice id="legalnotice">, > but the HTML filename for it is still randomly generated. > Am I doing something wrong or is this a bug? I think this is intentional. Take a look at html/dbparam.dsl:300 where there is this comment: ;; Name of the output file for legal notices if ;; '%generate-legalnotice-link%' is true. Since several legal ;; notices may occur (in a Set of Books, for example), this is no ;; longer a fixed filename. How about this?: (define ($legalnotice-link-file$ legalnotice) (if (and %use-id-as-filename% (attribute-string (normalize "id") legalnotice)) (string-append (case-fold-down (attribute-string (normalize "id") legalnotice)) %html-ext%) (string-append "ln" (number->string (all-element-number legalnotice)) %html-ext%))) Tim. */
Attachment:
msg00496/pgp00000.pgp
Description: PGP signature
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |