[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

Re: [xsl] Including inc files in xsl


Subject: Re: [xsl] Including inc files in xsl
From: Robert Koberg <rob@xxxxxxxxxx>
Date: Tue, 27 Jan 2004 13:34:07 -0800

Archana Rao wrote:

I tried both the ways

<!--#include virtual="myinclude.inc"-->
and
<xsl:comment>#include
virtual="myinclude.inc"</xsl:comment>


it did not work for me.

[this is getting off-topic now]


When viewing the page, are you serving it from a webserver that supports SSI? It won't work if you are simply viewing it from the file system.

From http://httpd.apache.org/docs/howto/ssi.html:

"To permit SSI on your server, you must have mod_include installed and enabled. Additionally, you must have the following directive either in your httpd.conf file, or in a .htaccess file:

Options +Includes

This tells Apache that you want to permit files to be parsed for SSI directives."

best,
-Rob



Archana




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



Current Thread