M. Shafie, To be more specific, after additional testings, the following line of our template seems to cause the problem in the macro:
<auxbuf xmlns="http://www.cggveritas.com/geovation/module/2.0" type="Output" number="???" id="???"> If we replace the 'type="Output"' assignment above by, e.g, 'type="???"' then our macro works as expected... Philippe. On 06/23/2011 01:20 PM, Hussein Shafie wrote: > On 06/23/2011 10:43 AM, Philippe Nobili wrote: >> Unless we have missed something, we seem to experience an undesirable >> interaction between template definition and putAttribute (in our case) >> function. This is what happens: >> >> 1. We have a template for one of our element, auxbuf: >> >> <cfg:elementTemplate name="auxbuf" selectable="override"> >> <auxbuf xmlns="http://www.cggveritas.com/geovation/module/2.0" >> type="Output" number="???" id="???"> >> <nativeDescript name=""> >> <shorthelp/> >> </nativeDescript> >> <code/> >> </auxbuf> >> </cfg:elementTemplate> -- XMLmind XML Editor Support List [email protected] http://www.xmlmind.com/mailman/listinfo/xmleditor-support

