OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

docbook message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: Re: [docbook] State of topic oriented writing in DocBook?


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.

Well this is already supported by XInclude and transclusion mechanism, see:

https://docbook.org/docs/transclusion/transclusion.html#ex.6

xslTNG support this mechanism, when enabled by the following option:

https://xsltng.docbook.org/guide/p_docbook-transclusion.html

Does this solve your use-case?


--
------------------------------------------------------------------
  Jirka Kosek      e-mail: jirka@kosek.cz      http://xmlguru.cz
------------------------------------------------------------------
     Professional XML and Web consulting and training services
DocBook/DITA customization, custom XSLT/XSL-FO document processing
------------------------------------------------------------------
    Bringing you XML Prague conference    http://xmlprague.cz
------------------------------------------------------------------

Attachment: OpenPGP_signature
Description: OpenPGP digital signature



[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]