On Fri, Aug 13, 2004 at 10:20:35PM +0200, admin@xxxxxxxxxxxx wrote:
> Hi,
> My guess is that mod-xslt want to parse xslt sheet as an xml document.
> Did you try to add something like this in httpd.conf:
>
> AddType text/xsl .xsl
>
>
> This is one error I found in XSL file:
> </h1><
> /xsl:template>
> </xsl:stylesheet>
>
> It should be:
>
> </h1></xsl:template>
> </xsl:stylesheet>
>
> If this is not working, can you post mod-xslt configuration from your
> httpd.conf?
>
> Boyan
>
Not working? what does '/var/log/apache/error.log' say?
My "standard" configuration is working well, but I don't have it here.
Remember that an xsl file has to be XML compliant.
mod-xslt check this condition everytime.
You can check your XSL file with rxp.
Remember also that you can transform xsl file in other xsl file. You can
have "middle version" of your xsl file that parsed with other xsl file
produce your "final version".
For ex: in php4, with libsablotron, you must produce this "middle
version" by yourself and parse it "by hand". Mod-xslt do it all for you.