Thank you!
Do I undestand this correctly: In the case that you are able to elliminate
the mentioned limitation in CALSTableEdit and HTMLTableEdit and DBTableEdit
= Union(CALSTableEdit, HTMLTableEdit)
I just have to add the following template to my configuration:
<elementTemplate xmlns="" selectable="override" name="gre.entry">
<entry xmlns="">
<Body></Body>
</entry>
</elementTemplate>
By the way:Since Version 4.0 I am not able to register CALSTableEdit any
more, alltough the current versions of docbook.jar and xhtml.jar are in
place. This is why I use DBTableEdit, alltough I do not use the HTML
extension to the CALS model in the dtd.
Kindest regards
Thomas Dumm
> -----Urspr?ngliche Nachricht-----
> Von: Hussein Shafie [mailto:hussein at xmlmind.com]
> Gesendet: Montag, 9. Februar 2009 14:23
> An: Thomas Dumm
> Cc: xmleditor-support at xmlmind.com
> Betreff: Re: [XXE] (no subject)
>
> 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/elemen
> tTemplate.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.
>