On 09/11/2010 08:38 AM, Nikolaos Paraschou wrote:
> 
> I have a question about table editing in the XMLEditor. I created a
> Docbook v5+ book and somewhere inside it I added a table. What I want to
> do is add itemized lists and figures inside some cells of this table.
> Unfortunately I can't.
> 
> Then I created a Docbook (not v5+) book and added a table there. In that
> table i can add itemized lists and figures inside the cells.
> 
> Why is it not possible to add itemized lists and figures inside the
> cells of Docbook v5+ tables? Is there anything i am missing?

No you are not missing anything and your question is indeed a very good one.

Let's say that the DocBook v5 schema is not always XMLmind XML editor
friendly which, in some cases, makes our product pretty hard to use.

With DocBook v5 (not with DocBook v4), an entry element, that is, a
table cell, can contain either:

*  plain text and inline elements such as emphasis, link, etc.

OR

* block elements such as para, itemizedlist, figure, etc.

(DocBook v4 allowed to mix both kinds of contents.)

Therefore,

* If the entry element is empty, explicitly select its empty text node
by clicking on #text in the node path bar (or pressing Ctrl-Up Arrow)
and use the Edit tool to *replace* it by a para, itemizedlist, figure, etc.

* If the entry element is not empty, select all contents by dragging
your mouse over it and use the Edit tool to *convert* it to a para.

After doing that, this entry, which now has switched to block contents,
will behave as you expect.



> 
> I am completely new to Docbook and XMLEditor (which is a very good
> product). I would appreciate any help.
> 

Then
http://www.xmlmind.com/xmleditor/_distrib/doc/user/tutorial_basics.html
is really a must read.


 
--
XMLmind XML Editor Support List
[email protected]
http://www.xmlmind.com/mailman/listinfo/xmleditor-support

Reply via email to