This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: Generate CSS to display FO on a web browser
- To: xsl-list at mulberrytech dot com
- Subject: Re: Generate CSS to display FO on a web browser
- From: "Sebastian Rahtz" <sebastian dot rahtz at computing-services dot oxford dot ac dot uk>
- Date: Sun, 30 Jul 2000 23:07:19 +0100 (BST)
- References: <Pine.LNX.4.21.0007282259060.28745-100000@sun.xlii.org>
- Reply-To: xsl-list at mulberrytech dot com
David Allouche writes:
> Do you know of any tool that can generate a CSS stylesheet usable to
> display a given XML instance containing Formatting Objects in a XML-aware
> browser.
seems odd. I am not convinced by the arguments against just
transforming to HTML+CSS, if you find CSS powerful enough.
> - CSS plus XSLT leave many holes that are not easily fixed in a way that
> can be both human readable and easily automatable. I think of conditional
> styling based on XPath-like logic, something that is done with the
> expression syntax of Dynatext.
can you give an example of something you cant do here?
> those problems, and make the conversion much simpler. But there is still
> no such thing as a FO-aware browser with hypertext (just <html:a> is
> enough) capability.
Acrobat (plugged into your browser) has perfectly good
hypertext functionality. so transform your FO to PDF...
> Since CSS is so much like FO, there must be a way to generate a CSS
> stylesheet to display (simple) FOs...
I agree. It sounds a doable project. It just seems slightly
sterile. If you write an HTML with nothing but <div> and <span>
elements, and the appropriate CSS file, you are there, arent you?
Sebastian
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list