Benoit Maisonny wrote:
> It seems that the addBlockInFlow command does not support element
> templates. That is, we can pass to it the name of an element but not the
> expression #template(element,name) as for other commands such as insert.
> 
> The same needs exists with table edition commands offered by
> GenericTableEdit. For example, we could have:
> 
>   <property name="foo.tableEdit.tableSpecification">
>     table=x:table
>     rowGroup=x:thead x:tbody x:tfoot
>     row=#template(x:tr,special)
>     cell=#template(x:td,foo) #template(x:th,bar)
>     rowSpan=rowspan
>     columnSpan=colspan
>   </property>
> 
> meaning that whenever GenericTableEdit needs to insert a td, it would
> use the foo template.
> 
> Would you consider extending these commands to support element templates
> in the future?
> 

Probably not in the near future.

For now, addBlockInFlow and GenericTableEdit (and as of XXE v4.3, CALS
and HTML tables) both support element templates having
selectable="override". See
http://www.xmlmind.com/xmleditor/_distrib/doc/configure/elementTemplate.html




Reply via email to