Many thanks for the replies, I got it working with Shared text entities in external entities files, in which the targetdoc= - entities are resolved to the demanded document(s). The only thing to change is now the entity-reference in the DOCTYPE-declaration of each document:
?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE book [ <!ENTITY % entity SYSTEM "entities_2.ent" > %entity; ]> Thanks again! Regards, Benno Wolf "Bob Stayton" <b...@sagehill.net> 01.07.2009 17:49 An "Bergfrid Skaara" <bergfrid.digitald...@gmail.com>, <docbook-apps@lists.oasis-open.org> Kopie <benno.w...@gi-de.com> Thema Re: [docbook-apps] Olinks as internal links after xinclude Here is a specific link to the doc Bergfrid mentioned: http://www.sagehill.net/docbookxsl/modular-olinks.html The second-to-last bullet describes the use of entity references for targetdoc. Bob Stayton Sagehill Enterprises b...@sagehill.net ----- Original Message ----- From: "Bergfrid Skaara" <bergfrid.digitald...@gmail.com> To: <docbook-apps@lists.oasis-open.org> Cc: <benno.w...@gi-de.com> Sent: Wednesday, July 01, 2009 4:40 AM Subject: Re: [docbook-apps] Olinks as internal links after xinclude > We use entities for dynamic targetdoc, check it out in the DocBook > customization guide. > > Best regards, Bergfrid Skaara > > > On Wed, Jul 1, 2009 at 9:52 AM, <benno.w...@gi-de.com> wrote: >> >> Hi, >> I have some 'stand-alone' documents with a lot of olinks between them. >> Now I >> want to use xinclude to reassemble them or parts of them to a new master >> document - with the links still working. Problem now of course is: the >> former (external) olinks have now to serve as internal links. Is there a >> technique to achieve this? Or a workaround? >> >> The only way I got it working is to omit the targetdoc= - parameter in >> the >> source documents, but then of course the olinks can't be processed in the >> stand-alone - documents. >> >> Thanks alot in advance! >> >> Regards, >> >> Benno Wolf >> >> > > --------------------------------------------------------------------- > To unsubscribe, e-mail: docbook-apps-unsubscr...@lists.oasis-open.org > For additional commands, e-mail: docbook-apps-h...@lists.oasis-open.org > > >