[oXygen-user] IDs for new DITA topics

Frank Dissinger frank.dissinger at cgs-oris.com
Mon Mar 27 03:50:39 CDT 2023


I would like to add that I have defined topic templates in my custom 
framework in which I have used the same setting which I used for "DITA > 
ID Option". For example:


<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE task PUBLIC "-//OASIS//DTD DITA General Task//EN" 
"generalTask.dtd">

<task id="*${localName}_${id}*" xml:lang = "en-US">
     <title>xxxTITLExxx</title>
     <shortdesc>xxxSHORTDESCRIPTIONxxx</shortdesc>
     <taskbody>
         <steps>
             <step>
                 <cmd>xxxFIRST_STEPxxx</cmd>
             </step>
         </steps>
     </taskbody>
</task>


------------------------------------------------------------------------
Am 27.03.2023 um 10:43 schrieb Frank Dissinger:
>
> Hi all,
>
>
> I understand that a topic ID must be unique within the scope of the 
> root ditamap used for publishing the content.
>
>
> FrameMaker, which I used previously, creates IDs of the type
>
>
> id172OC0C03J7
>
>
> So there is an arbitrary combination of 11 digits and letters.
>
>
> In oXygen I have set the "DITA > ID Option" as follows:
>
>
> ${localName}_${id}
>
>
> Which creates IDs of the following type:
>
>
> task_rf2_vcg_ywb
>
>
> So there is an arbitrary combination of only 9 characters, mostly 
> letters. But perhaps sufficient for ensuring uniqueness...
>
>
> However, when I use the "DITA > Insert > Insert New DITA Resource" 
> command, oXygen does not honor the "ID Option" setting, but creates 
> IDs which are identical to the file name.
>
> This is not what I want and surely not suitable for ensuring uniqueness.
>
>
> How can I get oXygen to honor the "ID Option" setting or make it 
> otherwise generate IDs with arbitrary characters which are likely to 
> be unique?
>
>
> Regards,
>
> Frank
>
> -- 
>
> *Frank Dissinger*
>
> Documentation Manager
>
> ....................................................................
>
> *CGS Publishing Technologies International GmbH*
>
> *Email *frank.dissinger at cgs-oris.com | *Web* www.cgs-oris.com 
> <http://www.cgs-oris.com/>
>
> *Address* Kettelerstr. 24 | D-63512 Hainburg | Germany
>
> *Phone* +49 6182 9626-27 | *Fax* +49 6182 9626-99
>
> *Commercial register* Offenbach, HRB no. 21495
>
> *Managing directors* Bernd Rückert, Christoph Thommessen
>
>
> https://www.cgs-oris.com/Signatur.png <https://www.cgs-oris.com/signatur>
-- 

*Frank Dissinger*

Documentation Manager

....................................................................

*CGS Publishing Technologies International GmbH*

*Email *frank.dissinger at cgs-oris.com | *Web* www.cgs-oris.com 
<http://www.cgs-oris.com/>

*Address* Kettelerstr. 24 | D-63512 Hainburg | Germany

*Phone* +49 6182 9626-27 | *Fax* +49 6182 9626-99

*Commercial register* Offenbach, HRB no. 21495

*Managing directors* Bernd Rückert, Christoph Thommessen


https://www.cgs-oris.com/Signatur.png <https://www.cgs-oris.com/signatur>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.oxygenxml.com/pipermail/oxygen-user/attachments/20230327/4667dfc0/attachment.htm>


More information about the oXygen-user mailing list