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" <[email protected]> 01.07.2009 17:49 An "Bergfrid Skaara" <[email protected]>, <[email protected]> Kopie <[email protected]> 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 [email protected] ----- Original Message ----- From: "Bergfrid Skaara" <[email protected]> To: <[email protected]> Cc: <[email protected]> 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, <[email protected]> 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: [email protected] > For additional commands, e-mail: [email protected] > > >
