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

Re: Future of XSL-FO at W3C??


xsl fo css
David Carlisle wrote:

> same here, but I don't really see the advantage in css styling in that
> case. Except for those features that are only available in CSS
> rather than native html/svg. In the case of FO  there are no such
> features as it's a superset of CSS rendering model (I think?).

Ok, the reason I think XSL-FO should use CSS in the same way as
SVG does is not because I want to use some specific styling properties
of CSS. The reason is that I think CSS is a better tool for associating
styling properties to nodes in a structure than XSLT is. The benefits come
from of a combination of the compact notation and the cascading rules.

> Why is it easier to generate class="foo" in the XSLT together with
> some css styling for .foo than to generate that set of attributes
> directly in the XSLT using an attribute set or variable containing a set
> of attribute nodes? I don't understand.

For the reasons I mention above I think it is much more efficient to manage
a set of largely static styling properties in CSS files rather than in
the XSLT files. Another reason is consistency with how I do very similar tasks
in HTML and SVG.

Cheers,
David


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
 

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.


Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

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.