[XSL-LIST Mailing List Archive Home]
[By Thread]
[By Date]
Re: [xsl] Header/Footer asking.
Subject: Re: [xsl] Header/Footer asking. From: "Mihail Mutu" <mihailmg@xxxxxxxx> Date: Mon, 4 Aug 2003 14:37:39 +0300 |
I make a report and I want a Header and a Footer on every page of it. The Footer is the same on every page, but in the Header I have to write number of page like this "page 1/2" and other informations, so I think I can't resolve the problem with the page-break-before/after....I have to do the report in html, so I couldn't use XSL-FO... :( Did anybody know if exist a method of how should I do that ? Thanks. P.S.: Thank you Andrew for your response. ----- Original Message ----- From: "Andrew Welch" <AWelch@xxxxxxxxxxxxxxx> To: <xsl-list@xxxxxxxxxxxxxxxxxxxxxx> Sent: Monday, August 04, 2003 2:09 PM Subject: RE: [xsl] Header/Footer asking. > > 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 XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: [xsl] Header/Footer asking., Andrew Welch | Thread | RE: [xsl] Header/Footer asking., Michael Kay |
RE: [xsl] Header/Footer asking., Rod Humphris - FLPTN | Date | Re: [xsl] One XSL two outputs ?, Simon Bretin |
Month |