Dear M. Shafie,

In our XMLMind configuration, we use <elementTemplate> element to change some of the templates for elements in our XML schema. When we add insert-after(),... buttons, we see the following:

+ When we do not use the @selectable attribute, the new template item is displayed in the menu in addition to the standard element, for instance for our element, which is <menu>: menu(menu). This is in line with what is in the documentation... but we do not want to see the duplicate items: menu and menu(menu)

+ When we set @selectable to "override", we expected to see only one menu item in the generated pulldown; it is effectively what happens, but then our template is not executed and the default element is generated instead.

Did we miss something ?
All the best,

Below the example:
<cfg:elementTemplate name="menu" selectable="override">
<menu  xmlns="http://www.cggveritas.com/geovation/module/2.0";>
<!-- skipped -->
</menu>
</cfg:elementTemplate>

Not OK default element is created when the generated pulldown is used.

<cfg:elementTemplate name="menu">
<menu  xmlns="http://www.cggveritas.com/geovation/module/2.0";>
<!-- skipped -->
</menu>
</cfg:elementTemplate>

Works, but then 2 items are created in the generated pulldown: "menu" and "menu(menu)"

<<attachment: philippe_nobili.vcf>>

 
--
XMLmind XML Editor Support List
[email protected]
http://www.xmlmind.com/mailman/listinfo/xmleditor-support

Reply via email to