How to for DocBook olinks
Posted: Mon Dec 07, 2009 7:09 pm
Hi,
I can't find a clear example of set up and use olinks for cross-references between files in a multiple-file DocBook5 book. I want to output to PDF and I suppose that affects the setup. It would help if you could give me an example using my file names. My book file looks like this:
<?xml version="1.0" encoding="UTF-8"?>
<?oxygen RNGSchema="http://www.oasis-open.org/docbook/xml/5 ... bookxi.rng" type="xml"?>
<book xmlns="http://docbook.org/ns/docbook" xmlns:xi="http://www.w3.org/2001/XInclude"
xmlns:xlink="http://www.w3.org/1999/xlink" version="5.0">
<info><title version="1.3">Onyx User Guide</title><author>
<orgname>OBiBa</orgname>
<email>info@obiba.org</email>
</author><subtitle>Onyx Version 1.6</subtitle>
<copyright><year>2009</year></copyright>
</info>
<toc/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="OnyxUserGuide_Introduction.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="OnyxUserGuide_GettingStarted.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="OnyxUserGuide_ViewingParticipants.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="OnyxUserGuide_ManagingWorkstation.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="OnyxUserGuide_ManagerTopics.xml"/>
<glossary/>
<index/>
</book>
In the Oxygen XML Editor manual, I found Example 7.9 but I'm not sure what it means. Do I have to set up a bunch of files to be able to use olinks: like target.db? I also wonder if using namespace would simplify my filenames and is a good practice.
Thanks--your answers are always very helpful.
Patricia
I can't find a clear example of set up and use olinks for cross-references between files in a multiple-file DocBook5 book. I want to output to PDF and I suppose that affects the setup. It would help if you could give me an example using my file names. My book file looks like this:
<?xml version="1.0" encoding="UTF-8"?>
<?oxygen RNGSchema="http://www.oasis-open.org/docbook/xml/5 ... bookxi.rng" type="xml"?>
<book xmlns="http://docbook.org/ns/docbook" xmlns:xi="http://www.w3.org/2001/XInclude"
xmlns:xlink="http://www.w3.org/1999/xlink" version="5.0">
<info><title version="1.3">Onyx User Guide</title><author>
<orgname>OBiBa</orgname>
<email>info@obiba.org</email>
</author><subtitle>Onyx Version 1.6</subtitle>
<copyright><year>2009</year></copyright>
</info>
<toc/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="OnyxUserGuide_Introduction.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="OnyxUserGuide_GettingStarted.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="OnyxUserGuide_ViewingParticipants.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="OnyxUserGuide_ManagingWorkstation.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="OnyxUserGuide_ManagerTopics.xml"/>
<glossary/>
<index/>
</book>
In the Oxygen XML Editor manual, I found Example 7.9 but I'm not sure what it means. Do I have to set up a bunch of files to be able to use olinks: like target.db? I also wonder if using namespace would simplify my filenames and is a good practice.
Thanks--your answers are always very helpful.
Patricia