Re: AW: HTML rendering in Mozilla
Sandro Zic <[email protected]> Fri, 29 Nov 2002 10:42:40 +0100
| Newsgroups | gmane.editors.bitflux.devel |
|---|---|
| Message-ID | <[email protected]> |
Hi, sorry for answering that late - I was very busy recently. On Saturday 23 November 2002 13:15, Roger Fischer wrote: > >> What would HTML help for implementing that? Or asked differently, what > >> can't be done in XML for footnotes, which you think would be easier in > >> HTML? I'm just wondering, to see if we go into the right direction. > > > >Remember our last talk? The problem with DocBook-like footnotes in > >BXE is that > >BXE can currently display XML elements in the given sequence only. > >It is not > >possible to display footnotes, which appear inside a DocBook paragraph (or > >block in general), at the end of the Browser page. > > > >This is due to the fact that BXE transforms > > > >XML -> CSS -> Browser Display > > > >instead it should be > > > >XML -> XSLT -> HTML -> CSS -> Browser Display > > I am not sure at all that this is problem with footnotes. IMHO, we would > need some sort of popup (like for the ulink) where you can write the > content your footnote. And then display it at the end of the page. This can > be done with CSS as well. Oh, it can be done with CSS? I did not know that it is possible. > Another problem is counting your footnotes through. But there maybe is a > trade-off, do you want to have your footnotes displayed immediately or > should the XSLT have to calculate quite a bit. I thought that XSLT counts the footnotes, just like Norman's DocBook stylesheets do. > Still I am not religious to the CSS only way (and I think there have been a > misunderstanding to oppose XSLT and CSS to strongly) - I better would call > our method a hybrid one - use XSLT or CSS where it makes most sense. For > our projects so far it made much more sense to use XSLT for the static part > and CSS for the editable part. I also think with footnotes (if we leave out > the counting of the footnotes) the CSS way in Mozilla is way more > effective. But maybe we just have to try out both ways and then see which > is the better way. Christian who has a much better understanding of the BXE > than I, will certainly add something to this. If we would do it with XSLT, BXE could use templates from the DocBook XSLT files. There are other aspects besides footnotes which are relevant for advanced editing like bibliographic data or function definitions (e.g. the DocBook elements used for the PHP manual). Maybe this all could be done with CSS, but it would save us some time to go with the DocBook templates. Cheers! Sandro -- bx-editor-dev mailing list [email protected] http://lists.bitflux.ch/cgi-bin/listinfo/bx-editor-dev