Dear All,

I am trying to get a button to instantiate a template:


        this one, with or without the ns declaration, never un-dims the button:

     <item label="Chapter" command="add"  
parameter="after[implicitElement]
                        {http://www.xmlmind.com/xmleditor/schema/ 
iniva}#template(chapter,linked)"/>

Where the elementTemplate looks like this:

   <elementTemplate parent="section" name="linked" selectable="true"
        xmlns="http://www.xmlmind.com/xmleditor/schema/iniva";>
     <chapter link="???" label="???">
       <meta>
        <title>your title here</title>
        <desc>your description here</desc>
       </meta>
       <p>your content here</p>
     </chapter>
   </elementTemplate>

this one makes a chapter fine, but is not using the elementTemplate:

<item label="Chapter" command="add" parameter="after[implicitElement]  
{http://www.xmlmind.com/xmleditor/schema/iniva}chapter"; />


Can anyone see what I am doing wrong?

Thanks for any help.

regards Jeremy


Reply via email to