Re: State of topic oriented writing in DocBook?
Jean-Christophe Helary <[email protected]> Thu, 1 Dec 2022 00:02:23 +0900
| Newsgroups | gmane.text.docbook.misc |
|---|---|
| Message-ID | <[email protected]> |
> On Nov 30, 2022, at 23:42, Jirka Kosek <[email protected]> wrote: >=20 > On 30.11.2022 15:25, Jean-Christophe Helary wrote: >> It seems to me that there could be a mechanism where xi:include = manages included IDs by generating some kind of "name space" over the = whole document, maybe based on the "includee" part ID. >> I can see how linking to such IDs form other parts could be = non-trivial, but conversely, I don't see the point of trying to link to = an ID that will be included in multiple places in a document, so maybe = the point is moot. >=20 > Well this is already supported by XInclude and transclusion mechanism, = see: >=20 > https://docbook.org/docs/transclusion/transclusion.html#ex.6 >=20 > xslTNG support this mechanism, when enabled by the following option: >=20 > https://xsltng.docbook.org/guide/p_docbook-transclusion.html >=20 > Does this solve your use-case? It will solve it the moment I understand how to set that. If I had known that what I'm looking for is called "transclusion" I = would certainly have investigated this solution way before, but better = late than never :-) --=20 Jean-Christophe Helary @[email protected] https://traductaire-libre.org https://mac4translators.blogspot.com https://sr.ht/~brandelune/omegat-as-a-book/