Home Forums General XMetaL Discussion Inserting a table from the table menu results in an invalid table Reply To: Inserting a table from the table menu results in an invalid table

Derek Read

Reply to: Inserting a table from the table menu results in an invalid table

A quick test here with one of the versions of DocBook that I have (OASIS version 4.1.2) shows that the following will insert a table (not informaltable) that includes the title element.

I tested with the 5.1 release of XMetaL Author Enterprise, but I don't think this particular functionality has been touched for a long time.

My test:
1. Put the DocBook DTD files in their own folder that does not include CSS, CTM and MCR files.
2. File > New > General (tab) > Blank XML Document (template).
3. Browse to and select docbookx.dtd, letting XMetaL auto-generate the CSS and CTM files.
4. Insert an

element. XMetaL decides it should have a so it sticks that in too.
5. Move the insertion point after the
then select the Insert Table option from the Table menu.
6. In the Insert Table dialog leave all the options as default (2 cols, 2 rows, no header, no footer).
7. Clicking the OK button inserts a table with the following markup (I've manually pretty printed this for clarity here):

[code]



     

   
   
 


[/code]

A couple of guesses about what's different:

a) You have a modified DTD.
b) Some setting in the CTM or a script is mucking with this.
c) ?

Reply

Products
Downloads
Support