[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: Using XSL and CSS together

Subject: Re: Using XSL and CSS together
From: David Carlisle <davidc@xxxxxxxxx>
Date: Tue, 7 Mar 2006 15:46:42 GMT
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
________________________________________________________________________

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.