Hi Sorin,
We're evaluating oXygen XML for purchase. Apologies that my questions are probably basic; it's been awhile since I worked in oXygen. I'll probably ask many questions in the next 18 days of the trial!
The links do work in the test you sent. In my project can get links/xrefs within a document working, but I can't get links/xrefs from one chapter to another working.
What information and attributes need to be specified to get xrefs working between chapters for DocBook5 when using XInclude? I've looked in the doc, the forums, and the videos, but can't find an answer.
It seems like you need to:
1. Add XML:ID attributes using the ID Options functionality in Author.
2. Create a validation scenario on the master XInclude file, and run that scenario on all the files to get ID attributes auto-completion across all project files, per this post:
http://www.oxygenxml.com/forum/post2031 ... ref#p20311. (However, the autocompletion is working for my files, for some reason.)
3. Add the xref with the xmlns:xlink attribute <xref xmlns:xlink="
http://www.w3.org/1999/xlink" />. But what attributes need to be specified here to link to another chapter? I've tried various combinations of linkend, endterm, and xml:id, but nothing works.
Am I missing any steps? Or do I need to regenerate something somewhere?
For example, here's the Appendix xml:id and a title element xml:id.
Code: Select all
<appendix xmlns="http://docbook.org/ns/docbook" version="5.0" xml:id="user_appdx">
<info>
<title xml:id="title_trv_nc1_p3">Managing SSH Keys</title>
</info>
</info>
In another chapter, I have this link, which does validate. But the link is absent in both PDF and WebHelp output.
Code: Select all
For more information, see <xref xmlns:xlink="http://www.w3.org/1999/xlink" linkend="title_trv_nc1_p3"></xref>
Thanks for your help.