Madlik, Monika (LNG-VIE) wrote:
> Now it is possible for me to use the docbook-functions without changing my 
> dtd. 

Note that you are not using the DocBook/CALS table editing commands but
downgraded, generic, table editing commands.

Slightly changing your DTD would make everything much easier, more
powerful and more maintenable.



> But I got another problem. How is it possible for me, to apply the css to my 
> table-elements? Table-width, colspan and rowspan is not displayed correctly 
> because of the names of my elements. 

Try this:

---
@import "xxe-config:docbook/css/table.imp";

@extension "com.xmlmind.xmleditapp.docbook.table.TableSupport black
rgb(238,238,224)";

calstable {
    display: block;
    margin: 1.33ex 0;
}

calstable > title {
    display: block;
    font-style: italic;
    font-weight: normal;
    text-align: center;
    /* keep margin because tgroup has no margin */
}
---
(@extension "com ... ,224)"; on ONE line please, that is, no carriage
return inside the CSS string "com ... ,224)")

It *may* work smoothly because the real tables in CALS are not "table",
"informaltable" or your "calstable" but "tgroup" and "entrytbl" (and I
guess that you have not changed these names).

If this does not work properly, do not hesitate to send another email so
 I can tell you about plan B.


Reply via email to