Re: CSS to FO???

Harm Kok <[email protected]>
Newsgroups gmane.text.xml.xsl.general
Organization Diderot Track
Message-ID <[email protected]>
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.

HTH

Harm Kok

Diderot Track

Curtis A. Weyant wrote:

>Hello,
>
>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?
>
>Curtis.
>
>
>
>____________________________________________________________
>Get 25MB of email storage with Lycos Mail Plus!
>Sign up today -- http://www.mail.lycos.com/brandPage.shtml?pageId=plus 
>  
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.