W3C home > Mailing lists > Public > www-xsl-fo@w3.org > October 2002

Re: CSS to FO???

From: Harm Kok <h.kok@diderottrack.nl>
Date: Tue, 29 Oct 2002 08:43:03 +0100
Message-ID: <3DBE3C07.2030300@diderottrack.nl>
To: www-xsl-fo@w3.org
CC: dylan38@angelfire.com

Hi Curtis,

Antenna House has made a XHTML to FO stylesheet where they incorporated 
style tags. Download their stylesheet here: 
http://www.antennahouse.com/XSLsample/XSLsample.htm and look at the file 
called xhtml2fo.xsl. Here you can find the template with the name 
"process-style". This will probably do what you want.


Harm Kok

Diderot Track

Curtis A. Weyant wrote:

>I'm looking for a quick and dirty way XSLT solution to convert a tag attribute containing valid CSS2 to the appropriate FO attribute.  Let me give an example:
>  <p style="text-align: center;font-style: italic">Hi There!</p>
>Would become:
>  <fo:block text-align="center" font-style="italic">
>      Hi There!
>  </fo:block>
>Any thoughts/pointers/references?
>Get 25MB of email storage with Lycos Mail Plus!
>Sign up today -- http://www.mail.lycos.com/brandPage.shtml?pageId=plus 
Received on Tuesday, 29 October 2002 02:42:47 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 20:58:26 UTC