Thomas Dumm wrote: > > I do not know how to automaticlly (recursively ) insert a specitic element > (say the element "Body") in an all entry elements of a newly inserted > tablecolumn. I use the command com.xmlmind.xmleditext.docbook.DBTableEdit to > insert a column. This leaves the cells with the element entry. I need to > prefill these entriy elements with an other element, to prevent me from > directly writing text in entry element. I have CALS-Tables except that it is > not allowed to directly write Text directly in entry (dtd rules). I first > need to insert an element like Body to be able to write text. > > Is this possible at all?
This currently possible only with GenericTableEdit. See http://www.xmlmind.com/xmleditor/_distrib/doc/commands/tableEdit.html GenericTableEdit supports cell *element* *templates*, while CALSTableEdit and HTMLTableEdit does not. See http://www.xmlmind.com/xmleditor/_distrib/doc/configure/elementTemplate.html That is, in the case of GenericTableEdit, the table cells of a newly created table column are copies of the default (selectable="override") cell element template, if any. For consistency, we'll try to remove this limitation of CALSTableEdit and HTMLTableEdit in the next release. > > PS: I do not want to use com.xmlmind.xmleditext.docbook.table.CALSTableEdit, > as this command seems to be less powerfull with spanned columns. > DBTableEdit = Union(CALSTableEdit, HTMLTableEdit). Thus, CALSTableEdit is as powerful as DBTableEdit. I think that you mean GenericTableEdit.

