Hello, first things, first: Happy 2015!
Now, let's go back to business: I'd need to "subvert" the delete action in the following way: Whenever a user deletes an element, instead of actually removing it from the document, an attribute should be set to a specific value on the element in question (for example: revisionflag="deleted" on DocBook5). I've tried to use customize.xxe to bind Ctrl+K to another action (tried with "alert boo!" command) and it does not work, the element is still deleted whenever I press Ctrl+K. I've searched the docs for action specifiers and I could not find any. I confess I did not scan the full file set under doc/ folder for XXE deployment, but believe me I read LOTS of XXE docs. I was wondering if I can redefine the menus and toolbars to remove all "delete" actions I can find, and then add a "custom delete" button that will perform the addAttribute command to set the needed attribute to the wanted value... but supposing I can do that (I'm 99.9% sure I can), how can I get rid of the default "delete" action so I'm sure the user cannot use that action inadvertently (or otherwise) in a way that the only means to "delete" an element is with my "custom delete" button? I've seen there's some application events defined, but I have not seen such a thing as a generic "delete" (or "add") application event defined. Even writing a custom delete command in Java is a viable option, provided I can get rid of (or disable somehow, or replace it by mine) the default XXE "delete" action (menu/toolbar). I hope the scenario and constraints are clear. I apologize in advance if what I need is explained somewhere in the doc, and I've happen to have missed that piece of doc. Thanks in advance for your precious help! -- Fabián Mandelbaum IS Engineer
-- XMLmind XML Editor Support List [email protected] http://www.xmlmind.com/mailman/listinfo/xmleditor-support

