I want to add support for xref to docbook2document.xsl so I created the
The template handles two xref conditions.
1. Where xref has only a @linkend.
2. Where xref has @linkend and @endterm
(see itemized list below)
These point to elements that have @id
The first xref in the itemizedlist does not say where the value of the link
should come from.
The second does, by way of the endterm.
This enables the text for a link to be obtained from any element that has an
My template creates the links, but does not work because forrest is adding its
own anchor @id to sections. So the link is displayed with the right text, but
goes nowhere since the target does not exist in the rendered html document.
You can test this by adding the template above to docbook2document.xsl
Add the attached docbook test file to xdocs and to site. It will demo the