Disclaimer: I am still a noob in the Oxygen XML Editor world!
I am using Oxygen XML Editor for research purpose, currently working on application projects to learn how to better use it.
I am trying to create IDs based on existing terms/strings for selected elements in an automated way, but can't seem to find a solution (if ever there is one).
Here's the context:
I work on DITA migration projects and always re-use content with conrefs, etc. attributes. For this purpose, I create a dita file which contains a table such as: This kind of table allows me to store and sort all the re-used content, but also to create glossaries for other applications, so this display is kind of important.
I then work row by row in the table (Author view): I assign a tag (uicontrol, ph, wintitle...) to a term that appears in the "Term" column, and add an ID to it. Said ID is supposed to be the same as the one that appears in the "ID" column on the same line.
Here's how a line looks like after this step in the Text view:
Code: Select all
<row> <entry><uicontrol id="adapt_paper_size">Adapter à la taille du papier</uicontrol></entry> <entry>adapt_paper_size</entry> <entry>MAC</entry> </row>
I know I can automatically generate an ID when a new pair of tags is created, but I don't know if it is possible to customise the ID generation pattern so that the ID is drawn from that "ID" column? In other words, would it be possible to assign to the string in the first entry of the row an ID based on the string of the second entry of the row?
If yes, all I'd have to do is assign the correct tags to each of the terms, and the rest of the process would be automatically executed.
Don't hesitate is something is not clear!