xsl-list
[Top] [All Lists]

RE: Header/Footer asking.

2003-08-04 05:53:08
Andrew

My fault I think for replying to yours not the original. You're right of
course; in a printing sense html knows nothing of pages. I was only
addressing the issue of the display on the screen, guessing that Mitch may
have mea nt it that way because he didn't mention printing.

Cheers

Rod

-----Original Message-----
From: Andrew Welch [mailto:AWelch(_at_)piper-group(_dot_)com]
Sent: 04 August 2003 13:22
To: xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
Subject: RE: [xsl] Header/Footer asking.



 
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


________________________________________________________________________
This email has been scanned for all viruses by the MessageLabs Email
Security System. For more information on a proactive email security
service working around the clock, around the globe, visit
http://www.messagelabs.com
________________________________________________________________________


________________________________________________________________
Any opinions expressed in this email are those of the individual and not 
necessarily the Company. Unless expressly stated to the contrary, this email is 
not intended to give rise to a new, or affect an existing, contractual or other 
legal relationship.This email and any files transmitted with it, including 
replies and forwarded copies which may contain alterations) subsequently 
transmitted from the Company, are confidential and solely for the use of the 
intended recipient. The unauthorised use, disclosure or copying of this email, 
or any other information contained or attached,is prohibited and could, in 
certain circumstances, be a criminal offence.

If you have received this email in error please notify the sender as soon as 
possible.

This footnote also confirms that this email message has been swept for the 
presence of computer viruses.

www.focusdiy.co.uk
_________________________________________________________________

________________________________________________________________________
This email has been scanned for all viruses by the MessageLabs Email
Security System. For more information on a proactive email security
service working around the clock, around the globe, visit
http://www.messagelabs.com
________________________________________________________________________

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



<Prev in Thread] Current Thread [Next in Thread>