[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

How to create document with different headers but same

Subject: How to create document with different headers but same body (xslfo/xslt)
From: Karen Varga <vargakaren@xxxxxxxxx>
Date: Mon, 7 Feb 2005 04:56:54 -0800 (PST)
different header in same document
I am going round and round in circles trying to create
a pdf document (using xslt and xslfo) that has a
different header on the first page to the rest of the
document, but the SAME body.  

Basically my body content is solely a list of items
displayed using a xsl:for-each loop.  This list is an
unknown length and needs to flow over to the next page
and the next etc.  

The first page of the document has a large header and
footer to display.  But for the rest of the pages I
only need to display a small header section.  The body
for all the pages is however the same.

Does anybody know how to do this?  I have tried all
sorts with multiple page-sequences and a
page-sequence-master but cannot get it to use the same
body.  I cannot have the for loop start again on the
second page, it must continue from the first page. 
Also, the size of the items displayed is not limited
to a single line and therefore it is unknown as to how
many items will fit on a page.

I've also tried using an xsl:if statement but don't
know how to get the page number.  I was thinking if I
could get the page number then I could just use an if
statement to determine which header code to display.  

Please help!




		
__________________________________ 
Do you Yahoo!? 
Take Yahoo! Mail with you! Get it on your mobile phone. 
http://mobile.yahoo.com/maildemo 

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.