xsl-list
[Top] [All Lists]

Re: [xsl] Using XSL and CSS together

2006-03-07 08:47:53

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
________________________________________________________________________

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--

<Prev in Thread] Current Thread [Next in Thread>