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
Reply to: Inserting a table from the table menu results in an invalid tableJune 18, 2009 at 5:45 pm
Ok, the only thing in the ctm file related to the table element is the following:
I deleted my ctm file and let xmetal generate it. No change when I insert a table.
I have customized the DTD (ours is based on DocBook 4.5). For tables we add an attribute. I tried removing the table stuff from our dtd and reopening xmetal. Still no table titles when I insert a table.
How does xmetal know to add a title to tables? I assume it's because it sees that title is a required child of table. Title is required…if I try to validate using one of its titleless tables, it gives a validation error.