On 10/28/2010 08:41 AM, nobili, philippe wrote: > > The XXE addon we developed for editing instances for our XML schema was > designed mainly for technical authors, not all developers. However it works > very well and benefit from all the good things generically provided by XXE; > we now are at a point where we have to decide whether it is worth maintaining > our tailored Java application versus the much smaller (as far as our own code > is concerned) XXE addon. To take the final decision, there are a couple of > minor limitations in our XXE addon and we would like toknow if it is possible > to remove them. Those are details, but the devil is in the details... So > below our questions, many thanks for your help. > > PS: I presume that -- if the questions below are too complex -- it would be > possible to use your customization services for developing further this XXE > addon ? > > Q1: Link schema, move to opposite link > > Is it possible to define our own linking schema for our XML schema so that > the link tool works for it ? > Is is also possible to make the "move to opposite link" work for our schema > as it does for DBK, DITA, XHTML ? >
In principle, the answer is yes: you can develop your own link scheme (scheme, not schema) and register it with XXE. In many cases, you don't need to program in Java[tm] to do this. See http://www.xmlmind.com/xmleditor/_distrib/doc/configure/linkScheme.html If, in practice, this proves to be technically impossible in your specific case, then you should report this as an XXE design bug. Note that command "move to opposite link" works automatically when a Link scheme has been specified for the document being edited. See command "followLink": http://www.xmlmind.com/xmleditor/_distrib/doc/commands/followLink.html > Q2: Add after last child [more a suggestion for improvement ?] > > You provide very convenient predefined functions to insert a new element; > something that is frequently needed (what we use most of the time actually) > is to add an element after the last child. It would be very convenient to be > able to do this when the parent is selected, e.g. insert-after-last-child() > We were thinking about this feature lately. We agree to enhance command insert with option into (http://www.xmlmind.com/xmleditor/_distrib/doc/commands/insert.html) to do this. It will be either the default behavior when a single element is explicitly selected or an extra option which would modify the normal behavior of option into. We'll do that in the version which will follow v4.7 (released today). > Q3: Changing XML vocabulary, Aliases > > This one may be more difficult ? The XML vocabulary we use (the name of > elements) has its historical reasons; unfortunatly it is obscure to half the > person of my company. If there any way in the dynamically generated menus, or > even in the element panel to present names differently ? (kind of alias > mechanism). The only way we found so far is to define templates for these > elements, but then the alias names and the former ones are mixed up. > This feature is probably not that technically difficult. However we do not plan to implement it in the near future, though we understand its usefulness. If you want it, then you'll have to sponsor it *partially* (partially, because, unlike the other developments we do as part of our customization service -- http://www.xmlmind.com/xmleditor/customization_service.html -- you, CGGV, cannot own this feature). > Q4: Changing mouse behavior in some views > > In our of our views, we would like to use the mouse Btn3 to pop-up the list > of elements that can be added in the selected one (insert after last child > stuff); is there any way to do this ? > Currently XXE does not allow to have different mouse or key bindings in different views (e.g. Ctrl-B invokes command "foo" in the styled view and Ctrl-B invokes command "bar" in the tree view). However it's possible to replace the stock Spell-checking and Edit right-click popup menus by a popup menu which depends on what's selected (a *contextual* popup menu). How to do this is explained here: http://www.xmlmind.com/xmleditor/_distrib/doc/commands/menu.html -- XMLmind XML Editor Support List xmleditor-support@xmlmind.com http://www.xmlmind.com/mailman/listinfo/xmleditor-support