[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Using XSL and CSS together
> Can any one give me one sample XSL code with CSS used. > Trying to generate PDF using XSL FO through Apache FOP. > > Thanks, > Kotesh You've asked this several times. But haven't really said what you are trying to do. CSS and XSL FO are two languages that may be used to describe styling of documents but are otherwise unrelated. If using an XSL renderer such as FOP typically you would not use CSS at all, and if you have a document styled in CSS typically you would use a CSS renderer (such as a browser) rather than an XSL FO system. Of course given that CSS and FO both may be used to describe document style it is possible within limits to convert a style expressed in one language to the other language. Earlier in this thread you've been pointed at a css2xslfo convertor that aims to do just that. So if you have a document with style expressed in CSS but you want to use an XSL FO system rather than a CSS one to render the document, that may be what you need, however it isn't the typical way of using XSL FO which doesn't involve CSS at all. David ________________________________________________________________________ This e-mail has been scanned for all viruses by Star. The service is powered by MessageLabs. For more information on a proactive anti-virus service working around the clock, around the globe, visit: http://www.star.net.uk ________________________________________________________________________
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|