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

RE: [XSL-FO] Counting line items

Expand Messages
  • Victor Vishnyakov
    One more idea: Retrieve the first and the last number of the subscription on the page usimg markers. Thus in the header (footer) the range of subscriptions for
    Message 1 of 4 , May 10, 2004
    • 0 Attachment
      One more idea:
      Retrieve the first and the last number of the subscription on the page usimg
      markers. Thus in the header (footer) the range of subscriptions for every
      page can be shown.

      Regards,
      Victor Vishnyakov



      > -----Original Message-----
      > From: Jason [mailto:jason@...]
      > Sent: Friday, May 07, 2004 6:58 PM
      > To: XSL-FO@yahoogroups.com
      > Subject: [XSL-FO] Counting line items
      >
      >
      > I have an XSLT prescription generator that creates PDF file
      > prescriptions for a hospital. A new anti-forgery requirement
      > for this tool is to add a line on the page saying "X
      > prescriptions on this page".
      >
      > My problem is that I don't know how to tell the number of
      > prescriptions on a given page.
      >
      > I know I made some poor decisions when I started this
      > project. It was my first XSLT exposure, and I wrote it to
      > iterate over an XML document, using a for-each, and
      > essentially do real-time rendering, as it goes. So the
      > prescriptions are put onto a page one at a time, so the pages
      > just kind of break automatically when the current
      > prescription is too long to fit into the remaining space. I
      > have no idea how to tell how many items will be on a page.
      >
      > Is there a way to do this?
      >
      > Thanks.
      >
      >
      >
      > ------------------------ Yahoo! Groups Sponsor
      > ---------------------~--> Yahoo! Domains - Claim yours for
      > only $14.70 http://us.click.yahoo.com/Z1wmxD/DREIAA/yQLSAA/9rHolB/TM
      > --------------------------------------------------------------
      > -------~->
      >
      >
      > Yahoo! Groups Links
      >
      >
      >
      >
      >
      >
    Your message has been successfully submitted and would be delivered to recipients shortly.