Quasilinear Thoughts

- A developer's log book.

Published on

How to automatically generate ID for elements in oXygen XML Editor


There are multiple ways to automatically generate ID's for elements when they are inserted in oXygen XML Editor.

Using idGenerationDefaultOptions.xml :

idGenerationDefaultOptions.xml which is found in the ${oxygenInstallDir}\frameworks\dita\resources directory and keeps only the default elements for which you need IDs to be generated. You can edit this file and additional elements for which you want to add ID.


Using ID Options:

Using ID options dialog box we can configure list of elements to generate ids automatically. ID Options dialog box can be found on $(frameworkMenuItem)>ID Options


PS: The changes made using ID Options dialog will override the elements list configured in idGenerationDefaultOptions.xml file.

Programatic way:

Following is the api to generate id for elements


Comments are closed but If you want to respond, please send me a message over WhatsApp or facebook or tweet or send email.


Khalil Ganiga

Just another programmer.. This blog expresses my views of various technologies and scenarios I have come across in realtime.

Keep watching this space for more updates.