Fabian M. wrote: > > I'd like to know if it's possible to do what the subject says. I made > a customization of XXE using 0docbook5.xxe and the <detect> element to > activate that customization only for certain files (in particular, > those docbook5 files having role="foo" on their root element). So far, > so good. > > Then, the rest of the customization involves removing menu items from > XXE (to simplify the menu and limit the options the user has), > however, I'd like to have the menu customization only activated when I > open those certain files I've mention before, and then to have the > usual XXE menu for the files not matching the <detect>. > > What I end up with right now is with the customized limited menu (as > specified in customize.xxe_gui) for ALL files, not only for those for > which my customization should be effective. >
Sorry but it seems that you expect too much from XXE. What you want is absolutely not possible with XXE. * customize.xxe_gui changes the GUI of XXE whatever the kind of file being opened. * 0docbook5.xxe merely adds GUI components (toolbar button, menu items) to placeholders specified in the GUI of XXE (whether stock or customized). -- XMLmind XML Editor Support List [email protected] http://www.xmlmind.com/mailman/listinfo/xmleditor-support

