This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: xsl:include blues..


On Tuesday, February 13, 2001 8:30 AM
Kevin Duffey wrote

> I am having two dilemas with using an XSL include. First, I want to
include
> a "header" and "footer" on every page. The header would be the
opening HTML
> (<html><head></head><body>), and the footer would be the closing
> </body></html>.

Do you really *have* to put the <body> into your header and the
</body> into your footer (ditto for <html></html>, since every html
page needs those tags anyway?

Why not keep the <html> and <body> etc in your main sheet and just
import the (presumably) different contents you want to have, which
could then be well formed? This is part of what Oliver and Robert have
proposed in their more detailed answers, but I thought it was worth
emphasising what seems to me the core of your problem.

Michael
------------------------------------------
Michael Beddow
http://www.mbeddow.net/


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]