xsl-list
[Top] [All Lists]

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

2004-08-20 01:24:52
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