[oXygen-user] ID Setting Extension for DITA Authoring

Radu Coravu
Thu May 14 05:33:17 CDT 2009

Hi Eliot,

1) The answer is no, but we are already considering adding an 
enhancement for automatic ID assignment when content is inserted in the 
Of course, the tag names for which ID values will be automatically 
generated will be customizable. So when this gets done your problem will 
be solved, but in the meantime...

2) I created a sample operation for inserting a DITA Topic with an 
unique identifier.
A jar file is attached containing both the operation class and its 
source so you can modify it.
You have to edit the "DITA" document type, in the "Classpath" tab add 
your additional library and in the "Actions" table for the 
"insert.topic" action invoke your own custom operation in all XPath 
Then you can call the action from the toolbar, menus or with a shortcut 
and have topics with different ID's inserted on each invocation.


Radu Coravu <oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger

Eliot Kimber wrote:
> I'm using Author to create DITA documents that have nested topics. An
> annoyance is that topics require the id= attribute, so having inserted a
> nested topic, I then have to set the ID even though I don't really care what
> the ID is. 
> My questions:
> 1. Is there already a sample Oxygen extension that assigns IDs that I can
> use or adapt for this?
> 2. If the answer to (1) is no, where should I look for guidance on how to
> implement such an extension.
> Thanks,
> Eliot
> ----
> Eliot Kimber | Senior Solutions Architect | Really Strategies, Inc.
> email:   <mailto:>
> office: 610.631.6770 | cell: 512.554.9368
> 2570 Boulevard of the Generals | Suite 213 | Audubon, PA 19403
> www.reallysi.com <http://www.reallysi.com>  | http://blog.reallysi.com
> <http://blog.reallysi.com> | www.rsuitecms.com <http://www.rsuitecms.com> 
> _______________________________________________
> oXygen-user mailing list
> http://www.oxygenxml.com/mailman/listinfo/oxygen-user

-------------- next part --------------
A non-text attachment was scrubbed...
Name: topicExt.jar
Type: application/octet-stream
Size: 4571 bytes
Desc: not available
Url : http://www.oxygenxml.com/pipermail/oxygen-user/attachments/20090514/e6e3536c/attachment.obj 

More information about the oXygen-user mailing list