Dear M. Shafie,

Something we did quite often in the past in our addons; the problem is 
certainly obvious, but we cannot see what is wrong...

The context: our add-on uses an XML-schema, but there is no namespace 
associated to it; i.e., in the add-on we have something like:

<schema>
    <noNamespaceLocation>myschema.xsd</noNamespaceLocation>
</schema>

We have added a couple of templates to override default ones, e.g.:

<elementTemplate xmlns="" name="mytemplate" selectable="override">
   <MyElement Myattr="thisvalue"/>
</elementTemplate>

The template -- which should replace the default one for all <MyElement> 
elements -- is never invoked.

If we replace selectable="override" by selectable="true", the template is now 
displayed in the list of elements (as expected) and works fine.

Did we miss something here ?
Many thanks,
Philippe.



--
XMLmind XML Editor Support List
xmleditor-support@xmlmind.com
http://www.xmlmind.com/mailman/listinfo/xmleditor-support

Reply via email to