On 02/15/2013 12:10 PM, Viachaslau Himik wrote:

   some xml editors add processing instructions info inside tables, for
example: <row><?PubTbl row rht="0.38in"?><entry></entry></row>. When
such documents opened in XMLMind it results in incorrect table rendering
(processing instruction is rendered as table column, other columns are
shifter from table header by one column).

Yes, that's right. Please note that the rendering in the case you describe is not incorrect (i.e. this is not a bug). It is just very ugly.




Are there any ways to fix it?
Can such processing instructions be suppressed (from css or some other way)?


Sure. Please customize the DocBook CSS stylesheet as explained in this chapter:

http://www.xmlmind.com/xmleditor/_distrib/doc/configure/customizing.html

You simply need to add the following CSS rule:

table *:processing-instruction(),
informaltable *:processing-instruction() {
    display: none;
}

More information about how to style processing-instructions in:

http://www.xmlmind.com/xmleditor/_distrib/doc/csssupport/pi_comments.html

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

Reply via email to