I'm fairly new to FOP and I have a problem I haven't been able to solve.  My
goal is to have rectangular (8X10) border (top, bottom, left right) on every
single page of my document regardless if the content will fill up the page
or not. The problem I'm having is that border basically stops when the
content ends on subsequent pages.  I can not predict the amount of data that
will coming from an XML file so the content size will vary. I would like the
border to extend to the bottom of every page, even if the content does not
fill up the whole page.

Below is example of my code for your review.
<fo:table table-omit-header-at-break="false"
    table-layout="fixed"
    height="100%"
   width="18cm"
   border-collapse="separate"
   border-style="solid"
   border-width="2pt"
   border-color="black"
   border-before-width="2pt"
   border-before-width.conditionality="retain"
   border-after-width="2pt"
   border-after-width.conditionality="retain">
   <fo:table-body>
       <fo:table-row>
           <fo:table-cell>
               <fo:block>
                   <xsl:for-each select="//*">
                       NAME: <xsl:value-of select="name()"/>
                       <xsl:if test="count(node()) = 1">
                        VALUE: <xsl:value-of select="node()"/>
                        </xsl:if>
                        <xsl:if test="not(count(node()) = 1)">
                        LENGTH: <xsl:value-of select="count(node())"/>
                        </xsl:if>
                        <!--VALUE: <xsl:value-of
select="node()[(string(.))]"/> -->
                        <fo:block />
                    </xsl:for-each>
                </fo:block>
            </fo:table-cell>
        </fo:table-row>
    </fo:table-body>
</fo:table>
 
Thanks in advance,
William

-- 
View this message in context: 
http://www.nabble.com/Border-problem-with-dynamic-content-tp19030648p19030648.html
Sent from the FOP - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to