Subject: RE: [xsl] Header/Footer asking. From: "Andrew Welch" <AWelch@xxxxxxxxxxxxxxx> Date: Mon, 4 Aug 2003 13:21:37 +0100 |
> 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 |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: [xsl] Header/Footer asking., Rod Humphris - FLPTN | Thread | RE: [xsl] Header/Footer asking., krishnas |
Re: [xsl] One XSL two outputs ?, Simon Bretin | Date | RE: [xsl] Header/Footer asking., krishnas |
Month |