Page 1 of 1

Insert elements without ID

Posted: Thu Jul 07, 2016 10:09 am
by xephon
Hi,

sorry for asking this noobish question :(

When inserting specific elements, <oXygen/> automatically inserts an @id attribute, e.g. for <ul> elements. For these specific DITA elements, the @id attribute is not mandatory. For us, @id attributes are indicators. If an element has an id, it is a xref-target or a conref-container. If not, they isn't.

Thanks a lot!

Greetings,
Stefan

Re: Insert elements without ID

Posted: Thu Jul 07, 2016 12:13 pm
by Radu
Hi Stefan,

In the Oxygen DITA framework there is an XML configuration file:

OXYGEN_INSTALL_DIR\frameworks\dita\resources\idGenerationDefaultOptions.xml

which defines the default procedure for assigning ID values.
Also when you are editing a DITA topic, in the DITA top-level menu there is an ID Options action which can be used to set up your custom ID generation options.
So the XML is used as a starting point but once you make your own changes using the ID Options, your changes will be preserved separately in the Oxygen global preferences.

Regards,
Radu

Re: Insert elements without ID

Posted: Thu Jul 07, 2016 12:23 pm
by xephon
Hi Radu,

excellent. I've never recognized that entry. :D

Thanks a lot!

Greetings,
Stefan