OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   Re: [xml-dev] Future of XSL-FO at W3C??

[ Lists Home | Date Index | Thread Index ]

m batsis wrote:
> So a formal mapping 
> between CSS and FO properties is the way to go by
> 
You'll find it in the XSLFO spec.

> To return back to my question on inheritance, perhaps you are talking about 
> what I think of as groupings, for example the subset of background 
> properties.

No, I was talking about how presentational properties are tacked to
nodes in the XML tree. Usually nodes inherit certain properties from
their ancestors. Two problems:
- Which properties are inherited, and where is inheritance blocked.
- The interaction of inheritance, shorthand evaluation and default
   values.
- If the properties are declared separately and connected to the tree
   by a matching mechanism, it has to be defined how this is done. For
   example
    div.sect { margin-top: 3pt }
    div { margin: 12pt }
Unfortunately, CSS mixes all aspects and thereby muddles what
"inheritance" means.

As for your thoughts, well, XSLFO introduced structured properties
consisting of minimum, optimum and maxumum values and occasionally
of a conditionality, with shorthands for setting all values at once,
and with shorthands to set a bunch of related properties, and an
expression language, and a variety of data types. This introduces a
lot of complexity, you can read a hairrising discussion about this
topic in the archives of the fop-dev list.

J.Pietschmann





 

News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS