Wrox Programmer Forums
Go Back   Wrox Programmer Forums > XML > XSLT
|
XSLT General questions and answers about XSLT. For issues strictly specific to the book XSLT 1.1 Programmers Reference, please post to that forum instead.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the XSLT section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old May 21st, 2007, 08:32 AM
Tre Tre is offline
Authorized User
 
Join Date: Mar 2007
Posts: 15
Thanks: 0
Thanked 0 Times in 0 Posts
Default Re-printing information on a new page.

Hi,

I am creating PDF reports containing customer investment details. Each customer name and account numner are printed in bold italics before the list of their investments are shown.

Sometimes a customer will have many investemnts that span more than one page. In that case I want to re-print the customer name and account number before the continuation of their account details.

How can I do this??

Many thanks in advance.

Trevor

 
Old May 21st, 2007, 11:22 AM
Friend of Wrox
 
Join Date: Jul 2006
Posts: 430
Thanks: 28
Thanked 5 Times in 5 Posts
Send a message via Yahoo to bonekrusher
Default

Hi Trevor,

A lot depends on your XML, XSL-FO and processor. Can you provide more information?


 
Old May 21st, 2007, 11:29 AM
Tre Tre is offline
Authorized User
 
Join Date: Mar 2007
Posts: 15
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I am using the Apache FOP FO processor.

An example of my XML is as follows:

- <Portfolio>
- <Data>
  <AccountNumber>223999588</AccountNumber>
  <PortfolioDescription>Carter, James</PortfolioDescription>
  <TradeDate>08/25/1998</TradeDate>
  <ActivityName>Receipt of Securities</ActivityName>
  <Symbol>FBO+A</Symbol>
  <Description>Federal Ppr Bd 2.875 PFD</Description>
  <Quantity>100</Quantity>
  </Data>
- <Data>
  <AccountNumber>223999588</AccountNumber>
  <PortfolioDescription>Carter, James</PortfolioDescription>
  <TradeDate>08/25/1998</TradeDate>
  <ActivityName>Receipt of Securities</ActivityName>
  <Symbol>UIS</Symbol>
  <Description>Unisys Corp.</Description>
  <Quantity>300</Quantity>
  </Data>
- <Data>
  <AccountNumber>224093799</AccountNumber>
  <PortfolioDescription>Carter, Kathleen</PortfolioDescription>
  <TradeDate>08/25/1998</TradeDate>
  <ActivityName>Receipt of Securities</ActivityName>
  <Symbol>FBO+A</Symbol>
  <Description>Federal Ppr Bd 2.875 PFD</Description>
  <Quantity>50</Quantity>
  </Data>
.
.
.
.
.

 
Old May 21st, 2007, 04:27 PM
Friend of Wrox
 
Join Date: Jul 2006
Posts: 430
Thanks: 28
Thanked 5 Times in 5 Posts
Send a message via Yahoo to bonekrusher
Default

Hi,

Since you did not post and XSL-FO, I would suggest you pass the information in the header or footer. This way it shows up on all pages.





Similar Threads
Thread Thread Starter Forum Replies Last Post
Printing PDF (page x to y) / multiple page seq's robbert XSLT 1 November 13th, 2006 10:27 AM
no rss information on default page kherrerab BOOK: ASP.NET 2.0 Website Programming Problem Design Solution ISBN: 978-0-7645-8464-0 24 November 7th, 2006 01:45 PM
Printing Page rtr1900 ASP.NET 2.0 Basics 3 November 29th, 2005 04:02 PM
Page Header Printing on Last Empty Page ritag Access 4 November 11th, 2004 12:07 PM
Printing on a new page Dinesh22 VB.NET 2002/2003 Basics 0 February 12th, 2004 03:36 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.