Kevin Flynn wrote: > Some time ago I made a request for ?auto-executable? macros that would > be triggered each time a document is opened or saved, and I see that the > request is registered in the ?user wishes? list on your web site. I > don?t know where it is in your priority list, but I would like to add > the following qualification:
Done. See http://www.xmlmind.com/xmleditor/wish_list.html. The User's Wish List is not prioritized at all. It is just an idea tank. We expect to heavily use it to implement XXE V3. > It would be useful if there were two macros associated with each > operation: one to be executed before the open/save operation, and one > after. In the case of a save operation, for example, the ?before? macro > would have access to XXE?s internal functions for manipulating the > document, while the ?after? macro would be able to carry out post > processing on the saved document (initiate XSL transformations execute > perl scripts etc.). The documentHook already does this. See http://www.xmlmind.com/xmleditor/_distrib/docs/configure/ch06s07.html and see also http://www.xmlmind.com/xmleditor/_distrib/docs/dev/ar01s09.html. In fact, you would like to be able to define a special kind of documentHook, where operations are implemented using macros.

