Hi Hussein,

I've modified my DITA PDF and xhtml publishing scripts to read an attribute 
(bg_color) from colspec, row, and entry elements and reflect the defined color 
in the output. Now I am working on the GUI for this.

In the CSS presentation layer for XMLmind, it was quite easy to write commands 
to set the colors on the elements, and easy to make the interface reflect the 
color chosen when the attribute is set at the entry or row level. Making a 
whole column in a table reflect a color selection made on its colspec element, 
however, is proving difficult. I would prefer to do this in CSS somehow rather 
than writing a command to actually add the bg_color attribute to every  
individual entry in the column, partly because this would involve having to 
re-apply it every time I added a new row.

Are there any widgets in XMLmind that connect entry elements with their colspec 
elements? The xpath statement for intelligently reaching backwards from each 
entry element and finding the right colspec element is proving to be 
problematical.

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

Reply via email to