[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: XSL-FO discarding space before
Sandy McArthur wrote:
I'm customizing the DocBook to xsl-fo stylesheets to look more like existing documentation that has existed for many years. I'm having trouble with too much white space being before a fo:block. It would simplify my customizations a lot if there is someway to nullify a space-before attribute in a child fo:block. I'm looking for something that is effectively this:
The space-before.conditionality property has already a value of "discard". It then comes down to precedences and stacking constraints. Just after a short glance, I'd say that if you have <fo:block space-before="1pt"> <fo:block space-before="3pt"> The 3pt space-before is discarded and the space-before the actual content is 1pt. This may be wrong, read and interpret the spec yourself. The other point is whether does FOP implement it. A short peek into the code revealed no attempts at implementing anything looking like the stuff mentioned in the spec, so if you are using FOP, you probably have to solve the problem at the XSLT level. Perhaps one of the code writers can comment on the state of the current implementation and how this will be handled in the new design? J.Pietschmann XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|