Thanks for the input; I've followed your suggestion "set show-link-page=no; 
remove linktext" and got as far as this:

* Chapter 3, Section 3.2. Primary protected application (PPA)

Better, but to my mind it introduces a new problem: the 3 in the two references 
is the same! the text appears to point the reader to 3.3.2 - section 3.2 in 
chapter 3 - while in fact we're trying to send the reader to 3.2. In other 
words, including "Chapter n" in the generated output is misleading. (to add to 
the fun, you'll see from the attached screenshot that the document does not 
even have a 3.3.2 ...)

I think I'd be happier if the generated output were simply (and unambiguously)

* 3.2. Primary protected application (PPA)

This has the merit of matching what the reader sees on the page :-} Of course, 
I have no idea how to implement/tweak to get this result ...

N


-----Original Message-----
From: Hussein Shafie [mailto:huss...@xmlmind.com]
Sent: maandag 8 augustus 2016 16:45
To: Grundtvig Nielsen Niels
Cc: 'xmleditor-support@xmlmind.com'; ditac-supp...@xmlmind.com
Subject: Re: [XXE] rendering of <related-links>

On 08/08/2016 03:53 PM, Grundtvig Nielsen Niels wrote:
> Drat! I thought I'd worked out how to code links properly, but
> something odd is still happening and now I don't know where in the
> process the error is arising.
>
>
>
> The source includes a <related-links> element
>
>
>
>   <related-links>
>
>     <link href="ppa.dita" scope="local">
>
>       <linktext>for a more detailed description of U-Boot SPL and
> Spica,
>
>       see</linktext>
>
>     </link>
>
>
>
>     <link href="spica_uboot.dita" scope="local">
>
>       <linktext>for a more detailed description of U-Boot and Spica,
> see
>
>       </linktext>
>
>     </link>
>
>   </related-links>
>
>
>
> Convert to .pdf gives me
>
>
>
> Related information
>
> * for a more detailed description of U-Boot SPL and Spica, see on page
> 81
>
> * for a more detailed description of U-Boot and Spica, see on page 124
>
>
>
> I really was rather hoping that the <title> of each referenced topic
> would appear in the output. What do I need to do to achieve this?
>
>

I'm sorry but this is not supported by XMLmind DITA Converter, our open source, 
in-house, DITA processor. That is, there is currently no way to get:

* for a more detailed description of U-Boot SPL and Spica, see 
TITLE_OF_REFERENCED_TOPIC



--> You seem to have passed XSLT stylesheet parameter show-link-page=yes
to the DITA processor. Hence:

* for a more detailed description of U-Boot SPL and Spica, see on page 81



--> If you pass it show-link-page=no, which is the default value of
show-link-page, you'll get:

* for a more detailed description of U-Boot SPL and Spica, see

with the above text, no less, no more, being an hyperlink to the
referenced topic.



--> If you pass it show-link-page=no AND SUPPRESS <linktext>, you'll get:

* TITLE_OF_REFERENCED_TOPIC_AS_AN_HYPERLINK



Reference:

http://www.xmlmind.com/ditac/_distrib/doc/manual/xsltParams.html#xsltParams__show-link-page





*********************************************************************************************
Worldline SA/NV - Chaussee de Haecht 1442 Haachtsesteenweg
- 1130 Brussels - Belgium
RPM-RPR Bruxelles-Brussel - TVA-BTW BE 0418.547.872
Bankrekening-Compte Bancaire-Bank Account 310-0269424-44
BIC BBRUBEBB - IBAN BE55 3100 2694 2444

"The information contained in this e-mail and any attachment there to be 
confidential and may contain information which is protected by intellectual 
property rights.
This information is intended for the exclusive use of the recipient(s) named 
above.
This e-mail does not constitute any binding relationship or offer toward any of 
the addressees.
If you are not one of the addressees , one of their employees or a proxy holder 
entitled to hand over this message to the addressee(s), any use of the 
information contained herein (e.g. reproduction, divulgation, communication or 
distribution,...) is prohibited.
If you have received this message in error, please notify the sender and 
destroy it immediately after.
The integrity and security of this message cannot be guaranteed and it may be 
subject to data corruption, interception and unauthorized amendment, for which 
we accept no liability."
--
XMLmind XML Editor Support List
xmleditor-support@xmlmind.com
http://www.xmlmind.com/mailman/listinfo/xmleditor-support

Reply via email to