Subject:Convernting CSS + xsl to XSL:FO Author:(Deleted User) Date:08 Jul 2008 06:13 AM
Hi Shib,
CSS and XSL-FO are very different, and you cannot simply map the old HTML+CSS into XSL-FO tags. CSS defines positioning for HTML elements (or class of elements), while HTML defines the general layout of the text. Instead, XSL-FO has a whole set of different tags to define the flow of the document, with attributes like font/color/size specified as additional tags inside the structural ones.
You will have to learn the XSL-FO language, for example by using the XML Publisher feature of Stylus Studio to design the desired layout and by generating the corresponding XSL-FO or HTML+CSS that renders it; by looking at the generated code you can learn how they differ.