[xep-support] Controlling a continued line

Harvey, Paul Paul_Harvey at omb.eop.gov
Tue Feb 3 13:29:27 PST 2009


Hi,

 

This is simplified, but we have something like this in a large template:

It displays a "continued" line when there is a page break in the middle
of the output of an "account".

For example, if account/header is "Offshore Drilling" it will output
"Offshore Drilling-continued"

 

Currently this outputs a continued line at every page break when
outputting an account, even if there's no more data to display for a
particular account.

Is there away, perhaps through other renderx extensions, to tell renderx
not to output the header if there is infact no additional text to
display on the next page?

 

Thanks

 

<xsl:template match="account">

...

<fo:table table-omit-header-at-break="false"
rx:table-display-header-before="even-page"
rx:table-omit-initial-header="true">

  <fo:table-header>

    <fo:table-row>

      <fo:table-cell>

        <fo:marker marker-class-name=" header">

          <fo:inline><xsl:value-of
select="normalize-space(header)"/></fo:inline>

          <fo:inline>&#x2014;Continued</fo:inline>

        </fo:marker>

      </fo:table-cell>

    </fo:table-row>

  </fo:table-header>

</fo:table>

...

</xsl:template>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.renderx.com/pipermail/xep-support/attachments/20090203/9c96f6c3/attachment.html>


More information about the Xep-support mailing list