Insert elements without ID

Post here questions and problems related to editing and publishing DITA content.
xephon
Posts: 140
Joined: Mon Nov 24, 2014 1:49 pm
Location: Greven/Germany

Insert elements without ID

Post 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
stefan-jung.org – Your DITA/DITA-OT XML consultant
Radu
Posts: 9051
Joined: Fri Jul 09, 2004 5:18 pm

Re: Insert elements without ID

Post 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
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
xephon
Posts: 140
Joined: Mon Nov 24, 2014 1:49 pm
Location: Greven/Germany

Re: Insert elements without ID

Post by xephon »

Hi Radu,

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

Thanks a lot!

Greetings,
Stefan
stefan-jung.org – Your DITA/DITA-OT XML consultant
Post Reply