XML rendering
Zack Rusin
zack at kde.org
Sat Jun 5 10:52:46 CEST 2004
On Friday 04 June 2004 18:24, Zack Rusin wrote:
> Well, this is an interesting example:
> http://www.mozilla.org/docs/dom/samples/treewalkerdemo.xml
BTW, what mozilla is doing for xml pages with no stylesheets is almost
identical to what you suggested:
- if there's no stylesheets for document it takes the top level node as
the parent and adds two children to it:
1) a span in the xhtml namespace that has display:none property,
2) a div also with the xhtml namespace that has the rendering of the
file.
I guess it makes sense to do the same :)
Zack
--
Documentation is like sex: when it is good, it is very, very good; and
when it is bad, it is better than nothing. - Dick Brandon
More information about the Khtml-devel
mailing list