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

FO: padding within list problem (really FOP)

Subject: FO: padding within list problem (really FOP)
From: Ralph Holz <ralph.holz@xxxxxxxxxxxxxxxxxxxx>
Date: Tue, 10 Aug 2004 18:31:21 +0200
fo padding
Hi,

I've got the following code snippet:

[list excerpt]

<fo:list-item>
<fo:list-item-label> <fo:block padding-bottom="1.7mm">
<xsl:value-of select="/root/variables/print/FileReferencePriceTag/countOfOwners" /> <xsl:value-of select="$colon" />
</fo:block>
</fo:list-item-label>
<fo:list-item-body start-indent="body-start()">
<fo:block padding-bottom="1.7mm">
<xsl:value-of select="/root/data/BaseDboFileReference/FileReferenceEvaluations/FileReferenceEvaluation/AmountPrevOwner" />
</fo:block>
</fo:list-item-body>
</fo:list-item>


[other list-items following]

The padding properties were added in fo:block because FOP didn't use it when it was within any of the parent elements. (If anyone knows a better solution to this, please let me know.) They are meant to ascertain a certain distance between the list items. (is that the way to do it?)

The problem I'm facing is that if anyone of the <xsl:value-of> evaluates to null (i.e. empty element in XML source tree), there is no padding anymore in that line and the next item data overwrites that line (it "moves up").

I would like to sort that out. Any ideas appreciated?

Thanks,
Ralph

Current Thread

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
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.