Re: [xsl] Import stylesheets with xalan

Subject: Re: [xsl] Import stylesheets with xalan
From: Joseph Kesselman <keshlam@xxxxxxxxxx>
Date: Fri, 21 Feb 2003 12:31:37 -0500
Why not use the existing <xsl:import> and <xsl:include>?

If you really want to generate a combined file, it isn't hard to implement 
an include facility as a stylesheet, using document() to read additional 
sources of information. Write such a stylesheet, use it to style your 
stylesheets, and run the generated stylesheets to style your other 
documents.

(I've got a set of articles in progress for IBM's DeveloperWorks website 
which shows a much more complicated example of styling stylesheets. It'll 
probably be a few more weeks before that's posted; I've got final editing 
and then it has to go through their publication cycle.)

______________________________________
Joe Kesselman  / IBM Research


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


Current Thread