Subject: RE: Including a common HTML Header
From: "Michael Kay" <mhkay@xxxxxxxxxxxx>
Date: Fri, 11 May 2001 19:59:43 +0100
|
> I am building a document publishing web site with the content
> stored in XML.
> Since all pages will include the same HTML tags and images as a header
> portion, I would like to keep this in one place and include it in each
> stylesheet. Is there a simple way to include common pieces
> such as this?
The obvious answer is xsl:include.
In fact, it's not quite so simple, because the chances are that the common
parts have variable content. So you may need to generate the common parts
using named templates that take a parameter holding the variable content.
Mike Kay
Software AG
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|