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: Including a common HTML Header


> 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


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