Loading ...
Sorry, an error occurred while loading the content.

Re: [XSL-FO] counting or finding last module

Expand Messages
  • yssr
    Hi you can do in differnt manner, define two page masters in flow. I am sure it will solve your problem
    Message 1 of 4 , Jan 5, 2005
      you can do in differnt manner, define two page masters in flow. I am sure it will solve your problem

      <fo:simple-page-master master-name="last-page-master" page-height="11in" page-width="8.5in" margin-left="0.5in" margin-right="0.5in">
      <fo:region-body margin-top="3.5in" margin-bottom="0.79in" />
      <fo:region-before region-name="last-page-header" extent="3.5in" />

      <fo:simple-page-master master-name="remaining-page-master" page-height="11in" page-width="8.5in" margin-left="0.5in" margin-right="0.5in">
      <fo:region-body margin-top="2.3in" margin-bottom="0.79in" />
      <fo:region-before region-name="remaining-page-header" extent="2.3in" />


      <fo:page-sequence-master master-name="default-page">
      <fo:conditional-page-master-reference master-reference="last-page-master" page-position="last" />
      <fo:conditional-page-master-reference master-reference="remaining-page-master" page-position="rest" />

      Norma Yeazell <nyeazell@...> wrote:Currently I am using a marker in my static content to return a module
      title in the header, but now I find I need the last module to be a
      specific title.
      I thought I could count or use last but it doesn't seem to be working.
      Maybe I am not using it correctly...can someone help me out?

      The xml looks like:


      Here is part of my xsl-fo

      <fo:static-content flow-name="lastpageHeader">
      <fo:block font-weight="bold" font-size="14pt"
      text-transform="uppercase" text-align-last="justify">
      <fo:leader leader-pattern="space"/>
      <xsl:when test="count(module)=5">
      <xsl:text>TYPE A SPECIFIC PHRASE HERE </xsl:text>
      <fo:retrieve-marker retrieve-class-name="module-title"/> <!--
      This is the module title -->
      <fo:block border-after-style="solid" border-after-width="1.5pt"

      Thanks in advance for any suggestions.

      Norma Yeazell
      Information Engineer
      495 Byers Rd.
      Miamisburg, Ohio 45342-3662
      Phone: (937) 865-0846 ext. [3026]
      Fax: (937) [865-5858]
      E-mail: [nyeazell@...]

      Confidentiality Notice
      The information contained in this e-mail is confidential and intended for use only by the person(s) or organization listed in the address. If you have received this communication in error, please contact the sender at O'Neil & Associates, Inc., immediately. Any copying, dissemination, or distribution of this communication, other than by the intended recipient, is strictly prohibited.

      Yahoo! Groups Links

      To visit your group on the web, go to:

      To unsubscribe from this group, send an email to:

      Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.

      Do you Yahoo!?
      Yahoo! Mail - Easier than ever with enhanced search. Learn more.

      [Non-text portions of this message have been removed]
    Your message has been successfully submitted and would be delivered to recipients shortly.