Thanks for the usual quick and efficient reply, Hussein - just the information I needed. From now on, I'll think of the on-screen prefix as an aide-mémoire, and remember that the final output is just the literal value of {title}
N -----Original Message----- From: Hussein Shafie [mailto:huss...@xmlmind.com] Sent: vrijdag 27 november 2015 15:53 To: GRUNDTVIG NIELSEN Niels AWL-T&P Cc: 'xmleditor-support@xmlmind.com'; ditac-supp...@xmlmind.com Subject: Re: [XXE] how to output the "Example:" prefix On 11/27/2015 03:24 PM, GRUNDTVIG NIELSEN Niels AWL-T&P wrote: > I don't /think/ I've asked this before and misfiled the answer ... I've > just completed a few topics that use the <example> element. On screen, > these show up neatly labelled Example: {title}, but when I generate a > .pdf I don't get the prefix. Could you point me in the right direction? > There is no way to get "Example: {title}" other than customizing the XSLT stylesheets (which would be overkill). If you just want "Example: {title}", then please type "Example: " before {title}. This answer may sound stupid, but it is not. XMLmind DITA Converter allows to automatically *number* examples. If you specify XSLT stylesheet parameter: -p number "all example", you'll get something like "Example 1-2. {title}", where 1 is the number of the chapter containing the example and 2 the number of the example. That is, examples are automatically numbered just like figures or tables. See http://www.xmlmind.com/ditac/_distrib/doc/manual/xsltParams.html#xsltParams__number 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