RE: [xsl] How to import multiple stylesheets into one xsl file?

Subject: RE: [xsl] How to import multiple stylesheets into one xsl file?
From: "Michael Kay" <mhk@xxxxxxxxx>
Date: Fri, 20 Aug 2004 09:24:52 +0100
> It worked perfectly! This helped a lot!
> 
> I'm still wondering about one thing though. I was
> using <xsl:import> in the template after the
> <xsl:output>tag on the Apache server installed on my
> Windows XP computer and it worked very well. For
> example,
> 
> <xsl:stylesheet>
> <xsl:output>
> <xsl:template match="/">
> <html>
> ...
> <body>
> <table>
> <xsl:import href="header.xsl" />

Any XSLT processor that allows this is *very* buggy! xsl:import is permitted
only at the top level, as a child of xsl:stylesheet.

As always with bugs, you can do your supplier a favour by reporting the bug,
or you can simply switch to a different product.

Michael Kay

Current Thread