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

Re: Bundling XML documents and creating one big PDF.

Expand Messages
  • Ajit Rathod
    Thanks Mate that was helpful. I managed to make it work as expected. Cheers, Ajit ... restarted. See ... layout/restart-page-num ... number= 1 . This ... value
    Message 1 of 3 , Jan 20, 2005
      Thanks Mate that was helpful. I managed to make it work as expected.

      Cheers,
      Ajit

      --- In XSL-FO@yahoogroups.com, "Victor Vishnyakov" <tch_@m...> wrote:
      > At the link below there is an example where page numbering is
      restarted. See
      > it for the details:
      > http://xslfo-zone.com/examples/xsl-fo/pagination-and-
      layout/restart-page-num
      > bering.jsp
      >
      > In general, there are two page-sequences where initial-page-
      number="1". This
      > attribute forces formatting engine to restart page numbering from
      value "1"
      > for each page sequence. Also note that page-number-citation's ref-
      id is
      > targeted to the last object in this page sequence in order to get
      the
      > correct quantity of pages in the document.
      >
      >
      > Best Regards,
      > Victor Vishnyakov
      > http://xslfo-zone.com/
      >
      >
      >
      > > -----Original Message-----
      > > From: ajitsinhr [mailto:arathod@w...]
      > > Sent: Thursday, January 20, 2005 1:13 AM
      > > To: XSL-FO@yahoogroups.com
      > > Subject: [XSL-FO] Bundling XML documents and creating one big
      PDF.
      > >
      > >
      > >
      > > Hi All,
      > >
      > > I have very weired requirement. I have bundle of XML
      > > documnets. I have prepared one xslt which converts one XML to
      > > pdf which has static, flow and footer contents. I have page 1
      > > of n in footer and static header on each page. What I would
      > > like to achieve is create a stylesheet by which have one big
      > > PDF file containg all the XML documents starting from new
      > > page and also have different footer for Page 1 of n.
      > >
      > > Example
      > >
      > > <XMLBundle>
      > > <XMLDOC1> -- Say this created 2 pages
      > > <STATIC CONTENT DATA>
      > > </STATIC CONTENT DATA>
      > > <FLOW CONTENT DATA1>
      > > </FLOW CONTENT DATA1>
      > > </XMLDOC1>
      > >
      > > <XMLDOC2>-- Say this created 4 pages
      > > <STATIC CONTENT DATA>
      > > </STATIC CONTENT DATA>
      > > <FLOW CONTENT DATA>
      > > </FLOW CONTENT DATA>
      > > </XMLDOC2>
      > > </XMLBundle>
      > >
      > > output PDF would be one file as below
      > >
      > > Page 1
      > > Contains
      > > static data
      > > Part of flow data
      > > footer 1 of 2 pages.
      > > Page 2
      > > Contains
      > > static data
      > > remaining of flow data
      > > footer 1 of 2 pages.
      > > Page 3
      > > Contains
      > > static data of XMLDOC2
      > > Part of flow data of XMLDOC2
      > > footer 1 of 5 pages.
      > > Page 4
      > > Contains
      > > static data of XMLDOC2
      > > Part of flow data of XMLDOC2
      > > footer 2 of 5 pages.
      > > Page 5
      > > Contains
      > > static data of XMLDOC2
      > > Part of flow data of XMLDOC2
      > > footer 3 of 5 pages.
      > > and so on...
      > >
      > > Has anyone tried this before?? If yes Please let me know.
      > >
      > > Apprieciate you sopport and help in advance.
      > >
      > > Thanks,
      > > Regards,
      > > Ajit
    Your message has been successfully submitted and would be delivered to recipients shortly.