Re: xhtml tables to docBook tables
Christian Stocker <[email protected]> Thu, 29 Apr 2004 10:40:59 +0200
| Newsgroups | gmane.editors.bitflux.devel |
|---|---|
| Message-ID | <[email protected]> |
Hi valentin On 4/29/04 9:52 AM, valentin vago zeropaper wrote: > Hi chregu > > I'm now trying to "convert" the tables elements, I saw that bxe's > using the xhtml elements for those and (from my observations) the > process seems to be external to any relaxng... Yes, relaxng doesn't know anything about "tables", we would have to ad proprietary extensions to relaxng for that (i don't say, it's a no go area ;) ) > I think I understand > why you use xhtml (for diplaying in browser, no??) xhtml is well known and easy to do for a browser and yes, the browser just understands the concept of tables and imgs this way ,) > > In this case, can I really replace the docbook tables elements (I > mean, the mozilla won't be able to parse the table with docbook > elements as it parses the xhtml elements). yeah, you can replace them. > I was searching a solution with some tricky css ( but I think it > isn't correct...), so my question is: Is there a possibility and in > the this case could you help me to direct my researches. if you use the css "display" properties for your table elements (like "table-cell") it should be possible to do it. the underlying mozile-editor does honor them (or at least should). We could certainly do the table-editing stuff more general, there are some hardcoded "td/tr/table" references in the code, which should be replaced... chregu > > Have pleasant journey > Best regards > Valent!n -- christian stocker | Bitflux GmbH | schoeneggstrasse 5 | ch-8004 zurich phone +41 1 240 56 70 | mobile +41 76 561 88 60 | fax +41 1 240 56 71 http://www.bitflux.ch | [email protected] | gnupg-keyid 0x5CE1DECB -- bx-editor-dev mailing list [email protected] http://lists.bitflux.ch/cgi-bin/listinfo/bx-editor-dev