On 06 Jan 2011, at 17:51, Philippe Pithon wrote:

Hi Philippe

> I read this attribut on http://www.w3.org/TR/xsl/#spacecond :
> 
> "Conditionality is an enumerated value which controls whether a 
> space-specifier has effect at the beginning or end of a reference-area or a 
> line-area. Possible values are retain and discard; a conditional 
> space-specifier is one for which this value is discard."
> 
> But I don't understand this sentence...
> Do you have a link to a better explanation ?

Not really a link, but the following explanation might make it easier to grasp 
what is happening:
The "conditionality" component of a space-property has "discard" as its initial 
value.
This means, in practice, unless you override it to "retain", that the space 
will be 'discarded' (thrown away, ignored...) when it appears 'at the beginning 
or the end of a reference area'. 
The latter is XSL-FO-lingo to refer to the cases of space before the first 
object on a page (or in a block-container) and space after the last object on a 
page (or in a block-container).

For the remaining spaces (in between objects on the same page, or in the same 
block-container), it is the "precedence" component (and ultimately the length) 
that is used to decide which of the spaces 'wins' and will be retained in the 
output.


Hope this helps,


Andreas
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to