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

Re: [XSL-FO] trouble with footers

Expand Messages
  • G. Ken Holman
    ... If you are using FOP, http://xml.apache.org/fop/compliance.html emphatically states that page-position= last is not supported. ... BTW, unrelated to your
    Message 1 of 2 , Apr 25, 2003
    • 0 Attachment
      At 2003-04-24 20:29 +0200, Reyserhove, Bart wrote:
      >I have the following problem. I have the following layout master set
      >...
      ><fo:page-sequence-master master-name="default-page">
      >
      ><fo:repeatable-page-master-alternatives maximum-repeats="1">
      >
      ><fo:conditional-page-master-reference
      >master-reference="first-last-page-master" page-position="last"/>

      If you are using FOP, http://xml.apache.org/fop/compliance.html
      emphatically states that page-position="last" is not supported.

      ><fo:conditional-page-master-reference master-reference="first-page-master"
      > ></fo:conditional-page-master-reference>
      >
      ></fo:repeatable-page-master-alternatives>
      >
      ><fo:repeatable-page-master-alternatives>
      >
      ><fo:conditional-page-master-reference page-position="first"
      >master-reference="first-page-master"/>

      BTW, unrelated to your question: the above page-position test will *never*
      be true, because you are testing if the second page of a page-sequence is
      the first page of a page sequence.

      ><fo:conditional-page-master-reference page-position="last"
      >master-reference="last-page-master"/>
      >
      ><fo:conditional-page-master-reference
      >master-reference="default-page-master"/>
      >
      ></fo:repeatable-page-master-alternatives>

      I hope this helps.

      .................... Ken

      --
      Upcoming hands-on courses: Europe (XSLT/XPath): May 5, 2003
      - Europe (XSL-FO): May 16, 2003
      - (XSLT/XPath and/or XSL-FO) North America: June 16-20, 2003

      G. Ken Holman mailto:gkholman@...
      Crane Softwrights Ltd. http://www.CraneSoftwrights.com/f/
      Box 266, Kars, Ontario CANADA K0A-2E0 +1(613)489-0999 (F:-0995)
      ISBN 0-13-065196-6 Definitive XSLT and XPath
      ISBN 0-13-140374-5 Definitive XSL-FO
      ISBN 1-894049-08-X Practical Transformation Using XSLT and XPath
      ISBN 1-894049-10-1 Practical Formatting Using XSL-FO
      Male Breast Cancer Awareness http://www.CraneSoftwrights.com/f/bc
    Your message has been successfully submitted and would be delivered to recipients shortly.