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

RE: Header/Footer asking.

Subject: RE: Header/Footer asking.
From: "Andrew Welch" <AWelch@xxxxxxxxxxxxxxx>
Date: Mon, 4 Aug 2003 13:21:37 +0100
header footer templates
 
> Or you could just have a separate xslt file with named header and
footer
> templates in it, include/import this into your main xslt:
> 
> <xsl:include href="HnF.xslt"/>
> 
> and call it where you want its output:
> 
>  <xsl:call-template name="footer"/>
> </html>
> 
> This way you only need to write your header/footer templates once and
any
> changes you make to them will be reflected in all the xslt that use
them,
> which I would think is the main point of header/footers.

But how do you know when you have reached the end of one page and the
start of another?  How do you know when your table has crossed a page
border, and needs to be moved onto the next page?  

HTML is meant for the screen, as one continuous 'page' and as such has
no features to deal with this.  I think you are left with the choice of
no (or one) header + html, or headers + xsl:fo.

cheers
andrew

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


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.