automatic numbering of self-created elements?

Hi, I've extended the DITA schema with elemnts we need for linguisitc purposes. One of them is ilexample and another is innerExample. When adding such elements to your topic, it would be nice if they could be numbered automatically. Is it possible to automatically generate an id for these elements, when the user adds such an element? Or should I write a plugin that is executed when the topic is saved? Kind regards, Roderik Dernison ________________________________ ---------------------------------------------------------- Aan dit bericht kunnen geen rechten worden ontleend. Het bericht is alleen bestemd voor de geadresseerde. Indien het bericht niet voor u is bestemd, verzoeken wij u dit aan ons te melden en het bericht te verwijderen. This message shall not constitute any obligations. This message is intended solely for the addressee. If you have received this message in error, please inform us and delete the message. ----------------------------------------------------------

Hi Roderik, By "numbering" do you mean automatically assigning IDs to the elements? Usually in DITA IDs are useful for linking or content references. Is this your case also? Would you like the IDs to be formatted in a certain way? Regards, Radu Radu Coravu <oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger http://www.oxygenxml.com On 8/14/2012 4:36 PM, Roderik Dernison wrote:
Hi,
I’ve extended the DITA schema with elemnts we need for linguisitc purposes. One of them is ilexample and another is innerExample.
When adding such elements to your topic, it would be nice if they could be numbered automatically. Is it possible to automatically generate an id for these elements, when the user adds such an element? Or should I write a plugin that is executed when the topic is saved?
Kind regards,
Roderik Dernison
------------------------------------------------------------------------
---------------------------------------------------------- Aan dit bericht kunnen geen rechten worden ontleend. Het bericht is alleen bestemd voor de geadresseerde. Indien het bericht niet voor u is bestemd, verzoeken wij u dit aan ons te melden en het bericht te verwijderen.
This message shall not constitute any obligations. This message is intended solely for the addressee. If you have received this message in error, please inform us and delete the message. ----------------------------------------------------------
_______________________________________________ oXygen-user mailing list oXygen-user@oxygenxml.com http://www.oxygenxml.com/mailman/listinfo/oxygen-user
participants (2)
-
Oxygen XML Editor Support
-
Roderik Dernison