[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

RE: [xsl] Header/Footer asking.


Subject: RE: [xsl] Header/Footer asking.
From: krishnas@xxxxxxxxxxxxx
Date: Mon, 4 Aug 2003 17:52:06 +0530

Dear sir,


 this is the mial i got from the  mail lilst about  header and footer.
  this is for info.
thanks 
krishnakishore


> Hi!
> I would like to use a header/footer into an HTML  report which is
maded in
> XSL from a XML.
> Anybody know a way of how should I do that ?

HTML doesn't know about headers and footers, so I think you are out of
luck.  If your data is repetitive you could use CSS2's page-break-before
and page-break-after with some nifty xslt... but it's unlikely your data
will fit.

It is possible to 'hack' the windows registry to put in your own headers
on anything that gets printed, but if your app/computer crashes and
doesn't delete your custom header and footer, then anything that gets
printed from that machine will have them too (of course until you app is
closed cleanly :)

Ultimately I think the only way to go about this is to use xsl:fo to
pdf.  I think Im about to embark on a similar project, and I can forsee
dual maintenance issues.  I wonder how common it is to have xslt->html
for screen and xsl:fo->pdf for printing, and any probems that have
arisen?

cheers
andrew   

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
----------------------------------------------------------------------------
DISCLAIMER:    The information in this message is confidential and may be
legally privileged. It is intended solely for the addressee.  Access to this
message by anyone else is unauthorised.  If you are not the intended
recipient, any disclosure, copying, or distribution of the message, or any
action or omission taken by you in reliance on it, is prohibited and may be
unlawful.  Please immediately contact the sender if you have received this
message in error. Thank you.

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



Current Thread
Keywords