OK, thanks; I understand. Identifying the index position of a substep just in its 'local' list is trivial, but keeping track of its position within the 'main' list is already more work, and checking the format of the counter almost an annoyance. The xref in question is within the same topic, so I can go against all the tenets of DITA and include an explicit xref by hand.
Meeting ahead tomorrow where I show how DITA gets a firm grip on three typical unstructured documents with a mix of unique and reused content ... and then makes it easy to keep one block of information up to date in a related fourth document as well. N -----Original Message----- From: Hussein Shafie [mailto:huss...@xmlmind.com] Sent: dinsdag 29 augustus 2017 15:13 To: Grundtvig Nielsen Niels Cc: 'xmleditor-support@xmlmind.com'; ditac-supp...@xmlmind.com Subject: Re: [XXE] xref to substep On 08/29/2017 01:24 PM, Grundtvig Nielsen Niels wrote: > It's been a while ... so here's a question to show I'm still happily > using XXE and exploring more things I can't quite do :-} > > > > I have a DITA task ei_004.dita with the ID ei_24lb68 where one of the > steps has substeps; the substep has the id ecrDevice, and shows up > (correctly) as 3a > > > > > > When I add an xref with the target ei_004.dita#ei_24lb68/ecrDevice, > this is rendered as > > > > > > Where should I be looking to find out how to have the xref return the > expected 3a? > > > I managed to reproduce this issue using attached Test.dita. I'm not sure we can solve this problem. We'll try, but may be it's a limitation which is hard to remove. This limitation may be expressed as: <xref href="id_of_an_item_in_an_ordered_list"/> is rendered as "index of the item within the ordered list". (substeps is a kind of ordered list.) This index is currently always rendered using a decimal format and does not "inherit" the index of its parent items when the ordered list is nested in other ordered lists. ********************************************************************************************* 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